all style stuff in one file

This commit is contained in:
Ingolf Wagner 2023-06-30 21:20:46 +02:00
parent de68ba4ea2
commit 7eb8da31e0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 27 additions and 18 deletions

View file

@ -231,24 +231,6 @@
home-manager-utils.hmModule
stylix.homeManagerModules.stylix
];
stylix.image = ./nixos/assets/wallpaper.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
programs.i3status-rust.bars.my = {
icons = "awesome5";
theme = "gruvbox-light";
};
stylix.fonts = {
serif = config.home-manager.users.mainUser.stylix.fonts.monospace;
sansSerif = config.home-manager.users.mainUser.stylix.fonts.monospace;
monospace = {
package = pkgs.jetbrains-mono;
name = "JetBrains Mono";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
};

View file

@ -8,6 +8,33 @@ with lib;
config = mkIf (config.components.gui.style.enable) {
home-manager.users.mainUser = {
stylix.image = ../../assets/wallpaper.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
programs.i3status-rust.bars.my = {
icons = "awesome5";
theme = "gruvbox-light";
};
stylix.fonts = {
serif = config.home-manager.users.mainUser.stylix.fonts.monospace;
sansSerif = config.home-manager.users.mainUser.stylix.fonts.monospace;
monospace = {
package = pkgs.jetbrains-mono;
name = "JetBrains Mono";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
fonts.fonts = with pkgs; [
corefonts