This commit is contained in:
parent
6a12ea4b0e
commit
9eca4f3e7b
4 changed files with 16 additions and 32 deletions
|
@ -37,7 +37,6 @@
|
|||
desktop = {
|
||||
dconf.enable = true;
|
||||
dwm.enable = true;
|
||||
fonts.enable = true;
|
||||
media.makemkv.enable = true;
|
||||
st.enable = true;
|
||||
thunar.enable = true;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
./avahi.nix
|
||||
./dconf.nix
|
||||
./dwm
|
||||
./fonts.nix
|
||||
./gitea-actions-runner.nix
|
||||
./gnupg.nix
|
||||
./kanata.nix
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.fonts;
|
||||
in
|
||||
{
|
||||
options.features.desktop.fonts.enable = mkEnableOption "Enable fonts";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
fonts = {
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.meslo-lg
|
||||
terminus_font
|
||||
terminus_font_ttf
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
16
modules2/fonts.nix
Normal file
16
modules2/fonts.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
flake.modules.nixos.pc =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.meslo-lg
|
||||
terminus_font
|
||||
terminus_font_ttf
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue