summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/lightdm.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:42:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:50:58 +0200
commit89e983786a4e2cf6dd238af4df6da373cc01e62b (patch)
tree857ecb8eab59fe1855b1fb311e6e1e9ec8303bdc /nixos/modules/services/x11/display-managers/lightdm.nix
parente73b19ae4e984f58cebe4dd4f82cda622da552ab (diff)
downloadnixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.gz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.bz2
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.lz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.xz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.zst
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.zip
Manual: Remove store path references
Diffstat (limited to 'nixos/modules/services/x11/display-managers/lightdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index bc8f478c7d8..11e21c9d917 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -104,7 +104,6 @@ in
       };
 
       background = mkOption {
-        default = "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
         description = ''
           The background image or color to use.
         '';
@@ -172,5 +171,8 @@ in
     };
 
     users.extraGroups.lightdm.gid = config.ids.gids.lightdm;
+
+    services.xserver.displayManager.lightdm.background = mkDefault "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
+
   };
 }