This commit is contained in:
ediblerope 2026-03-28 12:40:30 +00:00 committed by GitHub
parent 1c51cc375e
commit a7719779bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View file

@ -1,14 +1,9 @@
{ config, pkgs, lib, osConfig, ... }:
{ config, pkgs, lib, osConfig, inputs, ... }:
{
config = lib.mkIf (lib.elem osConfig.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
# Download wallpaper from GitHub repo and symlink it
home.file.".local/share/backgrounds/wallpaper.png".source =
let
wallpaperRepo = builtins.fetchGit {
url = "https://github.com/ediblerope/nixos-config";
ref = "main";
};
in "${wallpaperRepo}/walls/wallpaper.png";
"${inputs.self}/walls/wallpaper.png";
# GNOME dconf settings
dconf.settings = {