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,
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;