summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-01-25 01:42:51 +0100
committertv <tv@krebsco.de>2021-01-26 20:54:47 +0100
commit46f57b43888027bd245d14087fc096329729cb03 (patch)
tree18048ae1db4db2e628c53cd0c397ecb690eb69f5 /krebs
parent6a29e8bfcc34b7d59957793496789909fa9e994a (diff)
nixos/none: don't pull in feh unconditionally
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/upstream/desktop-managers/default.nix5
-rw-r--r--krebs/3modules/upstream/desktop-managers/none.nix11
2 files changed, 16 insertions, 0 deletions
diff --git a/krebs/3modules/upstream/desktop-managers/default.nix b/krebs/3modules/upstream/desktop-managers/default.nix
new file mode 100644
index 000000000..4f60ee27d
--- /dev/null
+++ b/krebs/3modules/upstream/desktop-managers/default.nix
@@ -0,0 +1,5 @@
+{
+ imports = [
+ ./none.nix
+ ];
+}
diff --git a/krebs/3modules/upstream/desktop-managers/none.nix b/krebs/3modules/upstream/desktop-managers/none.nix
new file mode 100644
index 000000000..892def985
--- /dev/null
+++ b/krebs/3modules/upstream/desktop-managers/none.nix
@@ -0,0 +1,11 @@
+# Replace upstream none desktop-manager by a real none, that doesn't pull in
+# any dependencies.
+with import <stockholm/lib>;
+{
+ disabledModules = singleton "services/x11/desktop-managers/none.nix";
+ config.services.xserver.desktopManager.session = singleton {
+ name = "none";
+ bgSupport = true;
+ start = "";
+ };
+}