refactor: combine nix-settings and nixpkgs modules into one nix module
This commit is contained in:
parent
a896a4a87f
commit
8f4defe84b
3 changed files with 8 additions and 5 deletions
|
|
@ -13,8 +13,7 @@
|
|||
"localisation"
|
||||
"network"
|
||||
"nh"
|
||||
"nix-settings"
|
||||
"nixpkgs"
|
||||
"nix"
|
||||
"nixvim"
|
||||
"syncthing"
|
||||
"systemd-boot"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# allow packages with non-free licenses
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue