add base pkg modules
This commit is contained in:
parent
26a95a16ed
commit
dddff5f6e7
4 changed files with 50 additions and 0 deletions
7
modules/linux/base-pkgs.nix
Normal file
7
modules/linux/base-pkgs.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
xdg-utils
|
||||
;
|
||||
};
|
||||
}
|
22
modules/linux/fonts.nix
Normal file
22
modules/linux/fonts.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, ... }: {
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
dejavu_fonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
material-symbols
|
||||
font-awesome
|
||||
corefonts
|
||||
vistafonts
|
||||
;
|
||||
}
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"corefonts"
|
||||
"vista-fonts"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue