diff options
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" + ''; + }; }; }; }; |
