nix/modules/wm/stylix/default.nix

64 lines
1.4 KiB
Nix
Raw Normal View History

2024-10-08 14:47:39 +02:00
{
pkgs,
inputs,
2024-11-08 18:23:40 +01:00
username,
2024-10-08 14:47:39 +02:00
...
}: let
2024-10-04 18:30:45 +02:00
backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png";
2024-10-03 21:32:31 +02:00
backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM=";
2024-10-04 18:30:45 +02:00
in {
2024-10-08 14:47:39 +02:00
imports = [inputs.stylix.nixosModules.stylix];
2024-10-08 14:10:40 +02:00
2024-10-04 18:30:45 +02:00
stylix = {
2024-08-31 16:04:57 +02:00
enable = true;
2024-10-26 21:48:09 +02:00
polarity = "dark";
2024-08-31 16:04:57 +02:00
base16Scheme = {
base00 = "282828"; # ----
base01 = "3c3836"; # ---
base02 = "504945"; # --
base03 = "665c54"; # -
base04 = "bdae93"; # +
base05 = "d5c4a1"; # ++
base06 = "ebdbb2"; # +++
base07 = "fbf1c7"; # ++++
base08 = "cc241d"; # red
base09 = "fe0819"; # orange
base0A = "d79921"; # yellow
base0B = "98971a"; # green
base0C = "689d6a"; # aqua/cyan
base0D = "458588"; # blue
base0E = "b16286"; # purple
base0F = "a89984"; # brown
};
2024-10-03 21:32:31 +02:00
image = pkgs.fetchurl {
url = backgroundUrl;
sha256 = backgroundSha256;
};
2024-08-31 16:04:57 +02:00
cursor = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
size = 24;
};
fonts = {
2024-09-08 17:31:09 +02:00
monospace = {
2024-10-06 12:57:02 +02:00
package = pkgs.nerdfonts.override {fonts = ["RobotoMono"];};
name = "RobotoMono Nerd Font";
2024-09-08 17:31:09 +02:00
};
2024-08-31 16:04:57 +02:00
sizes = {
applications = 12;
2024-10-06 12:57:02 +02:00
terminal = 13;
2024-08-31 16:04:57 +02:00
desktop = 12;
popups = 12;
};
};
};
2024-11-08 18:23:40 +01:00
home-manager.users.${username}.stylix.targets = {
foot.enable = false;
hyprland.enable = false;
};
2024-08-31 16:04:57 +02:00
}