modules: init nh for all hosts
This commit is contained in:
parent
bb38e8300a
commit
9515e95a45
2 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nh.nixosModules.default
|
||||
./security.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
{pkgs, ...}: {
|
||||
_: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
Loading…
Reference in a new issue