modules: init nh for all hosts

This commit is contained in:
notohh 2023-09-24 17:17:59 -04:00
parent bb38e8300a
commit 9515e95a45
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{...}: { {inputs, ...}: {
imports = [ imports = [
inputs.nh.nixosModules.default
./security.nix ./security.nix
./networking.nix ./networking.nix
./users.nix ./users.nix

View file

@ -1,10 +1,15 @@
{pkgs, ...}: { _: {
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
}; };
}; };
nh = {
enable = true;
clean.enable = true;
};
nix = { nix = {
gc = { gc = {
automatic = true; automatic = true;