diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-02 07:51:56 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-02 07:51:56 -0700 |
commit | b1ffabc10483067a2a402a945821ead78bfa4f84 (patch) | |
tree | d5ea8202a992c28793781a73769ed8ae05af1c73 /hosts/tahoe | |
parent | profiles/workstation: consolidate sound related configurations (diff) | |
download | world-b1ffabc10483067a2a402a945821ead78bfa4f84.tar.gz |
profiles: create default and server
The NAS and the router are "servers", and we create a base profile for them. We add a default profile that will set things that are common to all my hosts, and we start with the locales. Update tahoe/carmel to use the server profile.
Diffstat (limited to 'hosts/tahoe')
-rw-r--r-- | hosts/tahoe/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
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 = { |