refactor done

This commit is contained in:
Gustav Bruhn 2025-08-24 20:56:23 +02:00
parent 32dc0f6994
commit ce228bf80b
3 changed files with 7 additions and 8 deletions

View File

@ -27,7 +27,7 @@
};
};
myOptions.niri.enable = true;
myOptions.niri.enable = false;
networking.hostName = "desktop"; # Define your hostname.

View File

@ -6,7 +6,7 @@
}: {
imports = [
inputs.home-manager.nixosModules.default
# ../../modules/nixos/cosmic.nix
../../modules/nixos/cosmic.nix
./niri.nix
];

View File

@ -1,10 +1,10 @@
{
myOptions,
config,
pkgs,
lib,
...
}:
lib.mkIf myOptions.niri.enable
lib.mkIf config.myOptions.niri.enable
{
services.displayManager.ly = {
x11Support = false;
@ -17,5 +17,4 @@
];
services.gnome.gnome-keyring.enable = true;
security.pam.services.swaylock = {};
}