diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-06-18 22:28:28 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-06-18 22:28:28 +0200 |
| commit | 52bf13cac3ea68f32abac07707522275b4a212fe (patch) | |
| tree | e5ff2d5f90afac4b5c213e77d53a57d593471450 /modules/features/highLevel/niri.nix | |
| parent | 4be787c15dc973ef9483cbdac1ebe1ae71b17e00 (diff) | |
Moved niri and noctalia to highLevel features from features root
Diffstat (limited to 'modules/features/highLevel/niri.nix')
| -rw-r--r-- | modules/features/highLevel/niri.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/features/highLevel/niri.nix b/modules/features/highLevel/niri.nix new file mode 100644 index 0000000..312ba10 --- /dev/null +++ b/modules/features/highLevel/niri.nix @@ -0,0 +1,44 @@ +{ + self, + inputs, + ... +}: { + flake.nixosModules.niri = { + pkgs, + lib, + ... + }: { + programs.niri = { + enable = true; + package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri; + }; + }; + + perSystem = { + pkgs, + lib, + self', + ... + }: { + packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap { + inherit pkgs; + settings = { + spawn-at-startup = [ + (lib.getExe self'.packages.myNoctalia) + ]; + + xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite; + + input.keyboard.xkb.layout = "cz-qwertz"; + + layout.gaps = 5; + + binds = { + "Mod+Return".spawn-sh = lib.getExe pkgs.alacritty; + "Mod+Shift+Q".close-window = null; + "Mod+S".spawn-sh = "${lib.getExe self'.packages.myNoctalia} ipc call launcher toggle"; + }; + }; + }; + }; +} |
