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 = [
inputs.nh.nixosModules.default
./security.nix
./networking.nix
./users.nix

View file

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