From 5b75d9194f2096190b40a3f5b1fb4ea79ead3538 Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Thu, 19 Nov 2026 22:45:12 +0100 Subject: [PATCH] feat: add niri window manager --- home/default.nix | 2 +- home/niri.nix | 12 ++++++++++++ system/default.nix | 2 +- system/niri.nix | 7 +++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 home/niri.nix create mode 100644 system/niri.nix 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..91a573c --- /dev/null +++ b/home/niri.nix @@ -0,0 +1,12 @@ +{ + config, + lib, + ... +}: +{ + config = lib.mkIf config.nix-leonhard.graphical.enable { + wayland.windowManager.niri = { + enable = true; + }; + }; +} 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; +}