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