winston
b4cfeb3ebb
inputs: remove swayfx overlays: get rid of most of my NUR overrides swayfx: flake -> nixpkgs cache cosmic: init options: simplify mkIf guard for config.dotfiles.desktop
11 lines
265 B
Nix
11 lines
265 B
Nix
{ lib, config, ... }:
|
|
{
|
|
config = lib.mkIf (config.dotfiles.desktop == "cosmic") {
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
services = {
|
|
desktopManager.cosmic.enable = true;
|
|
displayManager.cosmic-greeter.enable = true;
|
|
};
|
|
};
|
|
}
|