generalize fonts

This commit is contained in:
Daylin Morgan 2024-01-23 16:29:47 -06:00
parent fa36228045
commit f9e32c5198
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
5 changed files with 8 additions and 10 deletions

6
modules/fonts.nix Normal file
View File

@ -0,0 +1,6 @@
{pkgs,...}:{
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
}

View File

@ -12,11 +12,6 @@ in
{
config = mkIf cfg.enable {
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
security.pam.services.swaylock = {};
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
# Optional, hint electron apps to use wayland:

View File

@ -7,10 +7,6 @@
./lock
];
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
# Enable the X11 windowing system.
services.xserver = {

View File

@ -4,6 +4,7 @@
cli
dev
nvim
vpn
# langs
python

View File

@ -5,9 +5,9 @@
...
}: {
imports = with inputs.self.nixosModules; [
fonts
gui
vscode
vpn
hyprland
];
}