diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/carmel/default.nix | 11 | ||||
-rw-r--r-- | hosts/tahoe/default.nix | 10 |
2 files changed, 16 insertions, 5 deletions
diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix index 83d6317..cbad04d 100644 --- a/hosts/carmel/default.nix +++ b/hosts/carmel/default.nix @@ -1,8 +1,13 @@ -{ ... }: +{ self, ... }: { - imports = - [ ./hardware.nix ./boot.nix ./networking.nix ./services.nix ]; + imports = [ + ./hardware.nix + ./boot.nix + ./networking.nix + ./services.nix + "${self}/profiles/server.nix" + ]; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index f31135b..4b0408b 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -1,9 +1,15 @@ -{ config, pkgs, hostname, ... }: +{ config, pkgs, hostname, self, ... }: let sshPub = builtins.fromTOML (builtins.readFile ../../configs/ssh-pubkeys.toml); in { - imports = [ ./boot.nix ./hardware.nix ./networking.nix ./services.nix ]; + imports = [ + ./boot.nix + ./hardware.nix + ./networking.nix + ./services.nix + "${self}/profiles/server.nix" + ]; users.groups.nas.gid = 5000; users.users.nas = { |