aboutsummaryrefslogtreecommitdiff
path: root/profiles/nas.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 19:01:08 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 19:01:08 -0700
commita8adeadf311cf877d7f53b7e006e247fbda4a4a6 (patch)
tree8e3466b6315b3b2a99e3e95639a6ae17d705ef40 /profiles/nas.nix
parentprofiles/hardware: create a few profiles related to hardware (diff)
downloadinfra-a8adeadf311cf877d7f53b7e006e247fbda4a4a6.tar.gz
profiles: move things around for btrfs
Diffstat (limited to 'profiles/nas.nix')
-rw-r--r--profiles/nas.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/profiles/nas.nix b/profiles/nas.nix
new file mode 100644
index 0000000..9c25c22
--- /dev/null
+++ b/profiles/nas.nix
@@ -0,0 +1,14 @@
+{ config, pkgs, ... }:
+{
+ imports = [
+ ./server.nix
+ ./btrfs.nix
+ ];
+
+ users.groups.nas.gid = 5000;
+ users.users.nas = {
+ uid = 5000;
+ group = "nas";
+ isSystemUser = true;
+ };
+}