Skip to content

Commit

Permalink
Revert "nixos/none: remove"
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Apr 2, 2020
1 parent f75c11c commit 60a1732
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Expand Up @@ -907,6 +907,7 @@
./services/x11/window-managers/icewm.nix
./services/x11/window-managers/bspwm.nix
./services/x11/window-managers/metacity.nix
./services/x11/window-managers/none.nix
./services/x11/window-managers/twm.nix
./services/x11/window-managers/windowlab.nix
./services/x11/window-managers/wmii.nix
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/default.nix
Expand Up @@ -18,7 +18,7 @@ in
# determines the default: later modules (if enabled) are preferred.
# E.g., if Plasma 5 is enabled, it supersedes xterm.
imports = [
./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
./none.nix ./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix ./maxx.nix
./mate.nix ./pantheon.nix ./surf-display.nix ./cde.nix
];
Expand Down
7 changes: 7 additions & 0 deletions nixos/modules/services/x11/desktop-managers/none.nix
@@ -0,0 +1,7 @@
{
services.xserver.desktopManager.session =
[ { name = "none";
start = "";
}
];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/window-managers/default.nix
Expand Up @@ -35,7 +35,7 @@ in
./wmii.nix
./xmonad.nix
./qtile.nix
];
./none.nix ];

options = {

Expand Down
12 changes: 12 additions & 0 deletions nixos/modules/services/x11/window-managers/none.nix
@@ -0,0 +1,12 @@
{
services = {
xserver = {
windowManager = {
session = [{
name = "none";
start = "";
}];
};
};
};
}

0 comments on commit 60a1732

Please sign in to comment.