From 90545db86470102ace629922f7c89ddd81edb705 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 8 Oct 2024 22:58:29 +0200 Subject: [PATCH] hosts: set wallpaper at system level --- hosts/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 023ac37..628f54e 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,7 +1,7 @@ { self, + pkgs, inputs, - lib, ... }: { flake.nixosConfigurations = let @@ -25,13 +25,17 @@ self.nixosModules.style - { - style = { + ({pkgs, ...}: { + style = let + wallpaper = pkgs.fetchurl { + url = "https://github.com/NixOS/nixos-artwork/blob/master/wallpapers/nixos-wallpaper-catppuccin-macchiato.png?raw=true"; + hash = "sha256-SkXrLbHvBOItJ7+8vW+6iXV+2g0f8bUJf9KcCXYOZF0="; + }; + in { gtk.enable = true; - wallpaper = lib.mkDefault ../wallpapers/lucy-edgerunners-wallpaper.jpg; - scheme = lib.mkDefault "catppuccin-frappe"; + inherit wallpaper; }; - } + }) { home-manager = { users.nezia.imports = homeImports.vamos;