all style stuff in one file
This commit is contained in:
parent
de68ba4ea2
commit
7eb8da31e0
2 changed files with 27 additions and 18 deletions
18
flake.nix
18
flake.nix
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue