diff --git a/home/default.nix b/home/default.nix index 71c8016..eccc3ce 100644 --- a/home/default.nix +++ b/home/default.nix @@ -16,7 +16,7 @@ in ./firefox.nix ./fish.nix ./nixvim.nix - ./hyprland.nix + ./niri.nix ./kitty.nix ./rofi ]; diff --git a/home/niri.nix b/home/niri.nix new file mode 100644 index 0000000..b8535f6 --- /dev/null +++ b/home/niri.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: +{ + config = lib.mkIf config.nix-leonhard.graphical.enable { + wayland.windowManager.niri = { + enable = true; + settings = { + input.keyboard.numlock = { }; + }; + }; + }; +} diff --git a/system/default.nix b/system/default.nix index 32f7625..d556d7e 100644 --- a/system/default.nix +++ b/system/default.nix @@ -7,7 +7,7 @@ ../options.nix ./fish.nix - ./hyprland.nix + ./niri.nix ./ly.nix ./nix.nix ]; diff --git a/system/niri.nix b/system/niri.nix new file mode 100644 index 0000000..9616f0e --- /dev/null +++ b/system/niri.nix @@ -0,0 +1,7 @@ +{ + config, + ... +}: +{ + programs.niri.enable = config.nix-leonhard.graphical.enable; +}