Working on reshuffling
This commit is contained in:
1 parent
85b7209c08
commit
12557c5a30
2 files changed
+44
-8
No files matched your search
@@ -1,6 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
pkgs.nerd-fonts.iosevka
|
||||
];
|
||||
flake.nixosModules.fonts =
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.mySystem.desktop.fonts.enable = lib.mkEnableOption "Enable system fonts";
|
||||
|
||||
config = lib.mkIf (config.mySystem.desktop.fonts.enable or false) {
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.fira-code
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user