From 47dde98fd2cf11ea544bb1c8d8d548ee0bda0f54 Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Wed, 2 Sep 2026 21:20:10 -0700 Subject: some sway stuff --- users/kassouni/theme.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'users/kassouni/theme.nix') diff --git a/users/kassouni/theme.nix b/users/kassouni/theme.nix index 4c96615..70785ca 100644 --- a/users/kassouni/theme.nix +++ b/users/kassouni/theme.nix @@ -6,7 +6,7 @@ font = { size = lib.mkOption { type = lib.types.int; - default = 24; + default = 16; description = "Global font size for all applications"; }; @@ -21,6 +21,23 @@ default = 10; type = lib.types.int; }; + + wallpaper = lib.mkOption { + type = lib.types.path; + description = "Wallpaper image used by the window manager"; + default = pkgs.runCommand "fw-13-pro-wallpaper-6.png" { + src = pkgs.fetchurl { + url = "https://downloads.frame.work/assets/framework-laptop13pro-wallpaper-pack.zip"; + sha256 = "0pjmsyfz49r2fwkz0c00rzjhf2rzfxrk72lnqc94z6a8h3rs3v3b"; + }; + nativeBuildInputs = [ pkgs.unzip ]; + } '' + unzip -j "$src" "FW 13 Pro Wallpaper 6.png" + # unzip restores the archive's own mode bits, which nix rejects on a + # store output; install with an explicit mode instead of moving. + install -m 0444 "FW 13 Pro Wallpaper 6.png" "$out" + ''; + }; }; }; }; -- cgit v1.3.1