1
Fork 0

Gdm setup, attempted to set up grub theming

This commit is contained in:
Matei Adriel 2023-02-09 23:55:36 +01:00
parent e555c40b2c
commit 01c5fe433b
No known key found for this signature in database
15 changed files with 205 additions and 21 deletions

View file

@ -4,6 +4,7 @@
# example = import ./example.nix;
discord = import ./discord.nix;
fonts = import ./fonts.nix;
manage-fonts = import ./manage-fonts.nix;
firefox = import ./firefox;
satellite-dev = import ./satellite-dev.nix;
}

View file

@ -25,9 +25,4 @@ in {
monospace = mkFontOption "monospace";
regular = mkFontOption "regular";
};
config = lib.mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = [ cfg.monospace.package cfg.regular.package ];
};
}

View file

@ -0,0 +1,12 @@
# Actually installs the fonts and whatnot.
# In a different file so the main module
# can also be included in my nixos config.
{ lib, config, ... }:
let cfg = config.fontProfiles;
in
{
config = lib.mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = [ cfg.monospace.package cfg.regular.package ];
};
}