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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue