From 160df15688b1993d448c2e6d4aea0cf0aece1604 Mon Sep 17 00:00:00 2001 From: willemml Date: Sat, 18 Nov 2023 22:41:11 -0800 Subject: [PATCH] Changes wallpaper, enables auto changing on darwin --- common/wallpapers.nix | 14 +++++++++++++- nixos/hosts/zeus.nix | 5 +++++ nixos/modules/yabai/default.nix | 1 + 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/common/wallpapers.nix b/common/wallpapers.nix index 1dc0648..d00aef2 100644 --- a/common/wallpapers.nix +++ b/common/wallpapers.nix @@ -15,6 +15,18 @@ rec { url = "https://git.kdb424.xyz/kdb424/wallpapers/raw/branch/main/wallhaven-7p3we9.png"; sha256 = "05acf2czadfnxswnqpgx9rsx71mqspmz5kafi3i1d2z191az6inf"; }; + samuraigirl = { + url = "https://w.wallhaven.cc/full/1p/wallhaven-1pol63.png"; + sha256 = "sha256-R1H1dQiYZXs2G7xGuypWmu+HtGWujursbaa7ZZYqLTU="; + }; + italymountains = { + url = "https://w.wallhaven.cc/full/z8/wallhaven-z87xmg.jpg"; + sha256 = "sha256-NklTjeU/mrPCZVYNvxGMR8KrCM/bUVoEYN4FrDnlUO8="; + }; + flowerstairs = { + url = "https://w.wallhaven.cc/full/5g/wallhaven-5gpv25.jpg"; + sha256 = "sha256-GOJA5JmW4KPw4UtFAru0JTBG7NUmc9PdmRFu8k9OwU0="; + }; - current = fireportal; + current = italymountains; } diff --git a/nixos/hosts/zeus.nix b/nixos/hosts/zeus.nix index 7816f22..858c4da 100644 --- a/nixos/hosts/zeus.nix +++ b/nixos/hosts/zeus.nix @@ -1,6 +1,7 @@ { pkgs, inputs, + config, ... }: { imports = [ @@ -15,6 +16,10 @@ inputs.stylix.darwinModules.stylix ]; + system.activationScripts.extraActivation.text = '' + osascript -e 'tell application "System Events" to tell every desktop to set picture to "${config.stylix.image}"' + ''; + homebrew = { enable = true; casks = [ diff --git a/nixos/modules/yabai/default.nix b/nixos/modules/yabai/default.nix index ac1b849..3fa5d7c 100644 --- a/nixos/modules/yabai/default.nix +++ b/nixos/modules/yabai/default.nix @@ -16,6 +16,7 @@ "Dictionary" "mpv" "Software Update" + "Set Desktop Background" ]; floating-rules = lists.forEach floating-apps (