init: stylix
This commit is contained in:
parent
886d285db2
commit
aa031db47d
12 changed files with 395 additions and 183 deletions
|
|
@ -12,5 +12,6 @@
|
|||
./services.nix
|
||||
./users.nix
|
||||
./virtualisation.nix
|
||||
./stylix.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
38
hosts/common/stylix.nix
Normal file
38
hosts/common/stylix.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ../../assets/wp.png;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||
cursor = {
|
||||
package = pkgs.kdePackages.breeze-icons;
|
||||
name = "Breeze_Light";
|
||||
size = 24;
|
||||
};
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.source-serif;
|
||||
name = "Source Serif 4 Display";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.inter;
|
||||
name = "Inter";
|
||||
};
|
||||
monospace = {
|
||||
package = pkgs.nerdfonts.override { fonts = [ "Hack" ]; };
|
||||
name = "Hack Nerd Font";
|
||||
};
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
sizes = {
|
||||
applications = 10;
|
||||
desktop = config.stylix.fonts.sizes.applications;
|
||||
popups = config.stylix.fonts.sizes.applications;
|
||||
terminal = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,11 +2,7 @@
|
|||
|
||||
{
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
themePackages = with pkgs; [ adi1090x-plymouth-themes ];
|
||||
theme = "colorful_sliced";
|
||||
};
|
||||
plymouth.enable = true;
|
||||
initrd.systemd.enable = true;
|
||||
loader = {
|
||||
efi.efiSysMountPoint = "/boot/efi";
|
||||
|
|
|
|||
|
|
@ -96,14 +96,7 @@ in {
|
|||
|
||||
fonts = {
|
||||
fontDir.enable = true;
|
||||
fontconfig.enable = true;
|
||||
packages = with pkgs; [
|
||||
corefonts
|
||||
inter
|
||||
maple-mono
|
||||
roboto
|
||||
(nerdfonts.override { fonts = [ "Hack" ]; })
|
||||
];
|
||||
packages = with pkgs; [ corefonts maple-mono noto-fonts-cjk roboto ];
|
||||
};
|
||||
|
||||
environment.plasma6.excludePackages =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue