diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-02 21:20:10 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-02 21:20:10 -0700 |
| commit | 47dde98fd2cf11ea544bb1c8d8d548ee0bda0f54 (patch) | |
| tree | fb79c45ef1c0f0016e480e06dff625cf3fc1c91a /users/kassouni/theme.nix | |
| parent | 1c5fa1c205f2bb78f8e1179b0576f3c3578dad69 (diff) | |
some sway stuff
Diffstat (limited to 'users/kassouni/theme.nix')
| -rw-r--r-- | users/kassouni/theme.nix | 19 |
1 files changed, 18 insertions, 1 deletions
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" + ''; + }; }; }; }; |
