Vic's *Nix config.

niri-desktop

+8 -9
+6
modules/community/features/niri-desktop.nix
··· 1 + {lib, ...}: { 2 + flake.modules.nixos.niri-desktop = { 3 + programs.niri.enable = true; 4 + services.displayManager.defaultSession = lib.mkForce "niri"; 5 + }; 6 + }
+2 -4
modules/community/features/xfce-desktop.nix
··· 1 - { 2 - 1 + {lib, ...}: { 3 2 flake.modules.nixos.xfce-desktop = { 4 3 # https://gist.github.com/nat-418/1101881371c9a7b419ba5f944a7118b0 5 4 services.xserver = { ··· 11 10 }; 12 11 13 12 services.displayManager = { 14 - defaultSession = "xfce"; 13 + defaultSession = lib.mkDefault "xfce"; 15 14 enable = true; 16 15 }; 17 16 }; 18 - 19 17 }
-5
modules/hosts/nargun/configuration.nix
··· 1 1 { inputs, lib, ... }: 2 2 let 3 - niri-desktop = { 4 - programs.niri.enable = true; 5 - services.displayManager.defaultSession = lib.mkForce "niri"; 6 - }; 7 - 8 3 flake.modules.nixos.nargun.imports = with inputs.self.modules.nixos; [ 9 4 vic 10 5 niri-desktop