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
gtk.enable = true; wallpaper = pkgs.fetchurl {
wallpaper = lib.mkDefault ../wallpapers/lucy-edgerunners-wallpaper.jpg; url = "https://github.com/NixOS/nixos-artwork/blob/master/wallpapers/nixos-wallpaper-catppuccin-macchiato.png?raw=true";
scheme = lib.mkDefault "catppuccin-frappe"; hash = "sha256-SkXrLbHvBOItJ7+8vW+6iXV+2g0f8bUJf9KcCXYOZF0=";
}; };
} in {
gtk.enable = true;
inherit wallpaper;
};
})
{ {
home-manager = { home-manager = {
users.nezia.imports = homeImports.vamos; users.nezia.imports = homeImports.vamos;