about summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 07:51:56 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 07:51:56 -0700
commitb1ffabc10483067a2a402a945821ead78bfa4f84 (patch)
treed5ea8202a992c28793781a73769ed8ae05af1c73 /profiles
parentprofiles/workstation: consolidate sound related configurations (diff)
downloadworld-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 '')
-rw-r--r--profiles/default.nix (renamed from modules/system/locale/default.nix)4
-rw-r--r--profiles/server.nix6
-rw-r--r--profiles/workstation.nix4
3 files changed, 12 insertions, 2 deletions
diff --git a/modules/system/locale/default.nix b/profiles/default.nix
index 2026764..f415edf 100644
--- a/modules/system/locale/default.nix
+++ b/profiles/default.nix
@@ -1,5 +1,5 @@
-# Language settings
-{ ... }: {
+{ pkgs, config, lib, ... }:
+{
   # Select internationalisation properties.
   i18n.defaultLocale = "en_US.UTF-8";
 
diff --git a/profiles/server.nix b/profiles/server.nix
new file mode 100644
index 0000000..5b96d56
--- /dev/null
+++ b/profiles/server.nix
@@ -0,0 +1,6 @@
+{ pkgs, config, lib, ... }:
+{
+  imports = [
+    ./default.nix
+  ];
+}
diff --git a/profiles/workstation.nix b/profiles/workstation.nix
index ae9423b..fc888d3 100644
--- a/profiles/workstation.nix
+++ b/profiles/workstation.nix
@@ -1,5 +1,9 @@
 { pkgs, config, lib, ... }:
 {
+  imports = [
+    ./default.nix
+  ];
+
   virtualisation.docker.enable = false;
   virtualisation.podman.enable = true;
   virtualisation.podman.dockerCompat = true;