hosts/dunamis/configuration.nix: switch theme
modules/home/desktop/niri/default.nix: redo strings modules/nixos/system/misc/default.nix: redo imports modules/nixos/system/misc/{stylix.nix => stylix/default.nix}: self-telling Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
./locale.nix
|
||||
./opentabletdriver.nix
|
||||
./qmk-vial.nix
|
||||
./stylix.nix
|
||||
./stylix
|
||||
];
|
||||
}
|
||||
|
@ -12,8 +12,6 @@
|
||||
|
||||
cfg = config.module.stylix;
|
||||
|
||||
cursorSize = 32;
|
||||
|
||||
iosevkaPackage =
|
||||
if stateVersion == "24.11"
|
||||
then pkgs.nerdfonts.override {fonts = ["Iosevka"];}
|
||||
@ -22,6 +20,14 @@
|
||||
if stateVersion == "24.11"
|
||||
then pkgs.nerdfonts.override {fonts = ["Iosevka Term"];}
|
||||
else pkgs.nerd-fonts.iosevka-term;
|
||||
mesloLgPackage =
|
||||
if stateVersion == "24.11"
|
||||
then pkgs.nerdfonts.override {fonts = ["MesloLG"];}
|
||||
else pkgs.nerd-fonts.meslo-lg;
|
||||
jetBrainsMonoPackage =
|
||||
if stateVersion == "24.11"
|
||||
then pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}
|
||||
else pkgs.nerd-fonts.jetbrains-mono;
|
||||
|
||||
themes = {
|
||||
nord = {
|
||||
@ -46,6 +52,7 @@
|
||||
cursor = {
|
||||
package = pkgs.nordzy-cursor-theme;
|
||||
name = "Nordzy-cursors";
|
||||
size = 32;
|
||||
};
|
||||
};
|
||||
|
||||
@ -71,6 +78,33 @@
|
||||
cursor = {
|
||||
package = pkgs.nordzy-cursor-theme;
|
||||
name = "Nordzy-cursors-white";
|
||||
size = 32;
|
||||
};
|
||||
};
|
||||
|
||||
helios = {
|
||||
polarity = "dark";
|
||||
scheme = "${pkgs.base16-schemes}/share/themes/helios.yaml";
|
||||
wallpaper = builtins.fetchurl {
|
||||
url = "https://w.wallhaven.cc/full/we/wallhaven-wejkzx.jpg";
|
||||
name = "wallhaven-wejkzx.jpg";
|
||||
sha256 = "sha256:145q483q1yvs4pndh2r57gfvbd9jc15sry9qz31avqxyrn8ama52";
|
||||
};
|
||||
|
||||
serif = {
|
||||
package = jetBrainsMonoPackage;
|
||||
name = "JetBrainsMono Nerd Font Propo";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = jetBrainsMonoPackage;
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 24;
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -131,8 +165,7 @@ in {
|
||||
}
|
||||
// optionalAttrs cfg.useCursor {
|
||||
cursor = {
|
||||
inherit (themes.${cfg.theme}.cursor) package name;
|
||||
size = cursorSize;
|
||||
inherit (themes.${cfg.theme}.cursor) package name size;
|
||||
};
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user