diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-03-04T21·08+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-03-04T21·09+0100 |
commit | bcd317f23df6d076470879c706ca025659bfa722 (patch) | |
tree | ea16ddf868e3e1a9fe8b7cc03590833af84b33d9 /desktop.nix | |
parent | 0937f19408621d950507782772ae6c88777b5bd6 (diff) |
refactor(pkgs): Add wallpapers to top-level package set
Diffstat (limited to 'desktop.nix')
-rw-r--r-- | desktop.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop.nix b/desktop.nix index bb3041f1c56f..6ff41cbfdedb 100644 --- a/desktop.nix +++ b/desktop.nix @@ -2,8 +2,7 @@ { config, lib, pkgs, ... }: -let wallpapers = import ./pkgs/wallpapers.nix; - emacs = import ./emacs.nix { inherit pkgs; }; +let emacs = import ./emacs.nix { inherit pkgs; }; in { # Configure basic X-server stuff: services.xserver = { @@ -52,7 +51,7 @@ in { description = "Randomly set wallpaper via feh"; serviceConfig = { Type = "oneshot"; - WorkingDirectory = "${wallpapers}/share/wallpapers"; + WorkingDirectory = "${pkgs.wallpapers}/share/wallpapers"; # Manually shuffle because feh's --randomize option can't be restricted to # just certain file types. |