hosts: set wallpaper at system level

This commit is contained in:
Anthony Rodriguez 2024-10-08 22:58:29 +02:00
parent c8e31a30ee
commit 90545db864
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -1,7 +1,7 @@
{ {
self, self,
pkgs,
inputs, inputs,
lib,
... ...
}: { }: {
flake.nixosConfigurations = let flake.nixosConfigurations = let
@ -25,13 +25,17 @@
self.nixosModules.style self.nixosModules.style
{ ({pkgs, ...}: {
style = { 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; gtk.enable = true;
wallpaper = lib.mkDefault ../wallpapers/lucy-edgerunners-wallpaper.jpg; inherit wallpaper;
scheme = lib.mkDefault "catppuccin-frappe";
}; };
} })
{ {
home-manager = { home-manager = {
users.nezia.imports = homeImports.vamos; users.nezia.imports = homeImports.vamos;