1
0
Fork 0

Remove wallpaper script from hera

This commit is contained in:
Malte Brandy 2021-08-03 23:46:29 +02:00
parent 8bee6fca2e
commit eddb1ac357
3 changed files with 3 additions and 2 deletions

View file

@ -70,6 +70,7 @@ let
./roles/sleep-nag.nix
./roles/tinkering.nix
./roles/update_tasks.nix
./roles/wallpaper.nix
];
orgaExtra = [
./roles/accounting.nix

View file

@ -8,7 +8,6 @@ let
configGit = "${pkgs.git}/bin/git -C ${configPath}";
in
{
imports = [ (import ./wallpaper.nix { inherit modeFile; }) ];
home.packages = builtins.attrValues rec {
maintenance = pkgs.writeShellScriptBin "maintenance" ''
set -e

View file

@ -1,5 +1,6 @@
{ modeFile }: { pkgs, config, ... }:
{ pkgs, config, ... }:
let
modeFile = "${config.home.homeDirectory}/.mode";
wallPapers = "${config.home.homeDirectory}/media/images/wallpapers";
randomWallpaper = pkgs.writeHaskellScript
{