summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/upstream/desktop-managers
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/3modules/upstream/desktop-managers')
-rw-r--r--krebs/3modules/upstream/desktop-managers/coma.nix5
-rw-r--r--krebs/3modules/upstream/desktop-managers/none.nix6
2 files changed, 6 insertions, 5 deletions
diff --git a/krebs/3modules/upstream/desktop-managers/coma.nix b/krebs/3modules/upstream/desktop-managers/coma.nix
index 95db7fb5c..e12f4b981 100644
--- a/krebs/3modules/upstream/desktop-managers/coma.nix
+++ b/krebs/3modules/upstream/desktop-managers/coma.nix
@@ -1,5 +1,6 @@
-with import <stockholm/lib>;
-{ config, pkgs, ... }: {
+{ config, pkgs, lib, ... }:
+with lib;
+{
options = {
services.xserver.desktopManager.coma = {
enable = mkEnableOption "sleep as a desktop manager";
diff --git a/krebs/3modules/upstream/desktop-managers/none.nix b/krebs/3modules/upstream/desktop-managers/none.nix
index 892def985..77f7ad513 100644
--- a/krebs/3modules/upstream/desktop-managers/none.nix
+++ b/krebs/3modules/upstream/desktop-managers/none.nix
@@ -1,9 +1,9 @@
+{ lib, ... }:
# 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 {
+ disabledModules = lib.singleton "services/x11/desktop-managers/none.nix";
+ config.services.xserver.desktopManager.session = lib.singleton {
name = "none";
bgSupport = true;
start = "";