all style stuff in one file

feature/nixinite
Ingolf Wagner 2023-06-30 20:59:11 +02:00
parent 5675dc8b64
commit de68ba4ea2
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
8 changed files with 61 additions and 28 deletions

View File

@ -218,7 +218,7 @@
}
];
homeManagerModules = {config, ... }: {
homeManagerModules = { config, ... }: {
imports = [
home-manager.nixosModules.home-manager
# stylix.nixosModules.stylix

View File

@ -15,6 +15,7 @@ with lib;
./audio.nix
./kmonad.nix
./taskwarrior.nix
./style.nix
];
config = mkIf config.components.gui.enable {

View File

@ -0,0 +1,36 @@
{ pkgs, config, lib, ... }:
with lib;
{
options.components.gui.style.enable = mkOption {
type = lib.types.bool;
default = config.components.gui.enable;
};
config = mkIf (config.components.gui.style.enable) {
fonts.fonts = with pkgs; [
corefonts
hasklig
inconsolata
source-code-pro
symbola
ubuntu_font_family
# symbol fonts
# ------------
nerdfonts
powerline-fonts
font-awesome
fira-code-symbols
jetbrains-mono
# shell font
# ----------
terminus_font
gohufont
];
};
}

View File

@ -6,7 +6,7 @@ with lib;
config = mkIf config.components.gui.enable {
system.custom.fonts.enable = true;
# system.custom.fonts.enable = true;
services.xserver = {

View File

@ -22,7 +22,7 @@
# ----
programs.custom.urxvt.fontSize = 17;
programs.custom.xterm.fontSize = 17;
system.custom.fonts.dpi = 140;
# system.custom.fonts.dpi = 140;
# allow un-free
# -------------

View File

@ -51,7 +51,7 @@
# -----
programs.custom.urxvt.fontSize = 12;
programs.custom.xterm.fontSize = 12;
system.custom.fonts.dpi = 100;
# system.custom.fonts.dpi = 100;
# x11
# ---

View File

@ -34,7 +34,7 @@
#./system/audio.nix
#./system/bluetooth.nix
./system/font.nix
#./system/font.nix
#./system/mainUser.nix
./system/on-failure.nix

View File

@ -46,29 +46,25 @@ in
# defaultFonts = { monospace = [ "JetBrains Mono" ]; };
#};
fonts = with pkgs; [
corefonts
hasklig
inconsolata
source-code-pro
symbola
ubuntu_font_family
# symbol fonts
# ------------
nerdfonts
powerline-fonts
font-awesome
fira-code-symbols
jetbrains-mono
# shell font
# ----------
terminus_font
gohufont
];
# fonts = with pkgs; [
# corefonts
# hasklig
# inconsolata
# source-code-pro
# symbola
# ubuntu_font_family
# # symbol fonts
# # ------------
# nerdfonts
# powerline-fonts
# font-awesome
# fira-code-symbols
# jetbrains-mono
# # shell font
# # ----------
# terminus_font
# gohufont
# ];
};