about summary refs log tree commit diff
path: root/profiles/nas.nix
blob: d1033af081bd0dfdc3c5b19ef8443a079e88a43c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, pkgs, ... }:
{
  imports = [
    ./server.nix
    ./btrfs.nix
  ];

  users.groups.nas.gid = 5000;
  users.users.nas = {
    uid = 5000;
    group = "nas";
    isSystemUser = true;
  };

  # Use systemd-resolved
  services.resolved.enable = true;
  services.resolved.dnssec = "false";
}