fix: Rename ./nixos to ./system
This makes it clearer that it is the system configuration.
This commit is contained in:
parent
96008a0fcc
commit
00e193c0d4
6 changed files with 2 additions and 2 deletions
31
system/stylix-config.nix
Normal file
31
system/stylix-config.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ config, pkgs }:
|
||||
let
|
||||
cfg = config.jconfig.styling;
|
||||
nerdFontSymbols = pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
|
||||
fallbackSymbols = {
|
||||
name = "Symbols Nerd Font";
|
||||
package = nerdFontSymbols;
|
||||
};
|
||||
in
|
||||
{
|
||||
autoEnable = cfg.enable;
|
||||
image = cfg.wallpaper;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
polarity = "dark";
|
||||
fonts.monospace = [
|
||||
{ name = "JetBrains Mono"; package = pkgs.jetbrains-mono; }
|
||||
fallbackSymbols
|
||||
];
|
||||
fonts.sansSerif = [
|
||||
{ name = "Noto Sans"; package = pkgs.noto-fonts; }
|
||||
fallbackSymbols
|
||||
];
|
||||
fonts.serif = [
|
||||
{ name = "Noto Serif"; package = pkgs.noto-fonts; }
|
||||
fallbackSymbols
|
||||
];
|
||||
fonts.emoji = { package = pkgs.noto-fonts-emoji; name = "Noto Color Emoji"; };
|
||||
fonts.sizes.popups = 12;
|
||||
targets.plymouth.logoAnimated = false;
|
||||
targets.plymouth.logo = cfg.bootLogo;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue