diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index b5d27ffa..94698c10 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -141,18 +141,18 @@ in { }; }; - sway = { + river = { enable = lib.mkOption { - description = "Sway with full desktop session components."; - default = osConfig.ar.desktop.sway.enable; + description = "River with full desktop session components."; + default = osConfig.ar.desktop.river.enable; type = lib.types.bool; }; }; - river = { + sway = { enable = lib.mkOption { - description = "River with full desktop session components."; - default = false; #osConfig.ar.desktop.river.enable; + description = "Sway with full desktop session components."; + default = osConfig.ar.desktop.sway.enable; type = lib.types.bool; }; }; diff --git a/nixosModules/desktop/river/default.nix b/nixosModules/desktop/river/default.nix new file mode 100644 index 00000000..7a57c366 --- /dev/null +++ b/nixosModules/desktop/river/default.nix @@ -0,0 +1,12 @@ +{ + lib, + config, + ... +}: { + config = lib.mkIf config.ar.desktop.river.enable { + programs.river = { + enable = true; + extraPackages = lib.mkDefault []; + }; + }; +} diff --git a/nixosModules/options.nix b/nixosModules/options.nix index 61cf0b90..e00790e1 100644 --- a/nixosModules/options.nix +++ b/nixosModules/options.nix @@ -30,6 +30,7 @@ }; hyprland.enable = lib.mkEnableOption "Hyprland wayland session."; + river.enable = lib.mkEnableOption "River wayland session."; steam.enable = lib.mkEnableOption "Steam + Gamescope session."; sway.enable = lib.mkEnableOption "Sway wayland session."; };