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. networking.hostName = "desktop"; # Define your hostname.

View File

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

View File

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