mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-14 02:54:10 -05:00
Update desktop options to be standardized
This commit is contained in:
parent
68b6d76500
commit
de19539c1e
3 changed files with 5 additions and 4 deletions
|
|
@ -5,8 +5,6 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
options.desktop.sway.enable = lib.mkEnableOption "enables sway";
|
||||
|
||||
config = {
|
||||
programs.sway = lib.mkIf config.desktop.sway.enable {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
options.desktop.i3.enable = lib.mkEnableOption "enables i3";
|
||||
|
||||
config = lib.mkIf config.desktop.i3.enable {
|
||||
services.xserver = {
|
||||
displayManager.startx.enable = true;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,11 @@
|
|||
enable = lib.mkEnableOption "enable container overseer user";
|
||||
};
|
||||
};
|
||||
|
||||
desktop = {
|
||||
sway.enable = lib.mkEnableOption "enables sway";
|
||||
i3.enable = lib.mkEnableOption "enables i3";
|
||||
};
|
||||
};
|
||||
|
||||
# Set default option states in config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue