nixos: add river options

This commit is contained in:
Aly Raffauf 2024-09-15 21:11:06 -04:00
parent 39c523c0e9
commit 319467b950
3 changed files with 19 additions and 6 deletions

View file

@ -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;
};
};

View file

@ -0,0 +1,12 @@
{
lib,
config,
...
}: {
config = lib.mkIf config.ar.desktop.river.enable {
programs.river = {
enable = true;
extraPackages = lib.mkDefault [];
};
};
}

View file

@ -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.";
};