mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
nixos: add river options
This commit is contained in:
parent
39c523c0e9
commit
319467b950
|
@ -141,18 +141,18 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sway = {
|
river = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
description = "Sway with full desktop session components.";
|
description = "River with full desktop session components.";
|
||||||
default = osConfig.ar.desktop.sway.enable;
|
default = osConfig.ar.desktop.river.enable;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
river = {
|
sway = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
description = "River with full desktop session components.";
|
description = "Sway with full desktop session components.";
|
||||||
default = false; #osConfig.ar.desktop.river.enable;
|
default = osConfig.ar.desktop.sway.enable;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
12
nixosModules/desktop/river/default.nix
Normal file
12
nixosModules/desktop/river/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.ar.desktop.river.enable {
|
||||||
|
programs.river = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = lib.mkDefault [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -30,6 +30,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
|
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
|
||||||
|
river.enable = lib.mkEnableOption "River wayland session.";
|
||||||
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
|
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
|
||||||
sway.enable = lib.mkEnableOption "Sway wayland session.";
|
sway.enable = lib.mkEnableOption "Sway wayland session.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue