diff --git a/flake.nix b/flake.nix index 8b5b843..f4d8c96 100644 --- a/flake.nix +++ b/flake.nix @@ -64,6 +64,7 @@ pash = self.packages.${system}.pash; cpypsk = self.packages.${system}.cpypsk; renoise = self.packages.${system}.renoise; + wall = self.packages.${system}.wall; }; }; }; @@ -112,6 +113,7 @@ pash = import ./pkgs/pash.nix { inherit pkgs; }; cpypsk = import ./pkgs/cpypsk.nix { inherit pkgs pash; }; renoise = import ./pkgs/renoise.nix { inherit pkgs; }; + wall = import ./pkgs/wall.nix { inherit pkgs; }; }; }); } diff --git a/home-manager/plasma.nix b/home-manager/plasma.nix index 9bb45ae..6ecc73d 100644 --- a/home-manager/plasma.nix +++ b/home-manager/plasma.nix @@ -5,11 +5,11 @@ workspace = { lookAndFeel = "org.kde.breezedark.desktop"; - wallpaperPictureOfTheDay.provider = "simonstalenhag"; + wallpaper = "${extra.wall}"; }; kscreenlocker = { - wallpaperPictureOfTheDay.provider = "simonstalenhag"; + wallpaper = "${extra.wall}"; }; hotkeys.commands."launch-alacritty" = { diff --git a/pkgs/wall.nix b/pkgs/wall.nix new file mode 100644 index 0000000..41f6cdc --- /dev/null +++ b/pkgs/wall.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: +pkgs.stdenv.mkDerivation { + name = "wallpaper"; + src = ./..; + phases = [ "installPhase" ]; + installPhase = '' + cp $src/resources/wallpaper.jpg $out + ''; +} diff --git a/resources/wallpaper.jpg b/resources/wallpaper.jpg new file mode 100644 index 0000000..8af7c36 Binary files /dev/null and b/resources/wallpaper.jpg differ