summaryrefslogtreecommitdiff
path: root/modules/features/highLevel
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-06-18 22:28:28 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-06-18 22:28:28 +0200
commit52bf13cac3ea68f32abac07707522275b4a212fe (patch)
treee5ff2d5f90afac4b5c213e77d53a57d593471450 /modules/features/highLevel
parent4be787c15dc973ef9483cbdac1ebe1ae71b17e00 (diff)
Moved niri and noctalia to highLevel features from features root
Diffstat (limited to 'modules/features/highLevel')
-rw-r--r--modules/features/highLevel/niri.nix44
-rw-r--r--modules/features/highLevel/noctalia.nix14
2 files changed, 58 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";
+ };
+ };
+ };
+ };
+}
diff --git a/modules/features/highLevel/noctalia.nix b/modules/features/highLevel/noctalia.nix
new file mode 100644
index 0000000..7b4cd7d
--- /dev/null
+++ b/modules/features/highLevel/noctalia.nix
@@ -0,0 +1,14 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ perSystem = {pkgs, ...}: {
+ packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
+ inherit pkgs;
+ settings =
+ (builtins.fromJSON
+ (builtins.readFile ./noctalia.json)).settings;
+ };
+ };
+}