about summary refs log tree commit diff
path: root/hosts/common/nas.nix
blob: 2e1b6fcd08e357b12c8b0a73f578bf7997ce55e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, pkgs, lib, ... }:

{
  imports = [
    ./server/default.nix
    ./server/samba.nix
    ./server/prometheus.nix
    ./server/grafana.nix
    ./server/traefik.nix
    ./server/transmission.nix
    ./server/unifi.nix
  ];

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