Gdm setup, attempted to set up grub theming
This commit is contained in:
parent
e555c40b2c
commit
01c5fe433b
15 changed files with 205 additions and 21 deletions
modules/home-manager
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
12
modules/home-manager/manage-fonts.nix
Normal file
12
modules/home-manager/manage-fonts.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue