From b1ffabc10483067a2a402a945821ead78bfa4f84 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 07:51:56 -0700 Subject: 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. --- hosts/carmel/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'hosts/carmel') 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 -- cgit 1.4.1