aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-04-14 15:12:54 -0700
committerMark Nipper <nipsy@bitgnome.net>2025-04-14 15:12:54 -0700
commit96c5a2844d9c7f35fd43f2d000e422f727ebaf75 (patch)
tree246dd9031453e27bc44f99c3abf2954ecbdb77f2 /hosts
parent627cddca1a9d99353817f7fc58d1fc3abcba82cb (diff)
downloadnix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar.gz
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar.bz2
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar.lz
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar.xz
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.tar.zst
nix-96c5a2844d9c7f35fd43f2d000e422f727ebaf75.zip
Reset services.xserver.displayManager.session to default null @fangorn
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/xorg.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/hosts/common/optional/services/xorg.nix b/hosts/common/optional/services/xorg.nix
index 4a1cd50..e41496b 100644
--- a/hosts/common/optional/services/xorg.nix
+++ b/hosts/common/optional/services/xorg.nix
@@ -84,13 +84,15 @@
})
];
- displayManager.session = [
- {
- manage = "desktop";
- name = "xsession";
- start = ''exec $HOME/.xsession'';
- }
- ];
+ displayManager.session = lib.mkIf (config.networking.hostName != "fangorn") {
+ [
+ {
+ manage = "desktop";
+ name = "xsession";
+ start = ''exec $HOME/.xsession'';
+ }
+ ];
+ };
enable = true;
xkb.layout = "us";