blob: 5e40f89ddece647afa6b57afa3b56c7eccf9183f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ inputs, flake, pkgs, config, ... }:
let
interfaces = {
bottom = "enp1s0";
top = "enp2s0";
};
in
{
imports = [
# ./jellyfin.nix
./pxeboot.nix
flake.outputs.nixosModules.disk
flake.outputs.nixosModules.intel
flake.outputs.nixosModules.network
];
nixpkgs.hostPlatform.system = "x86_64-linux";
networking.hostName = "radon";
users.groups.media.gid = 2000;
# boot.zfs.pools.radon.devNodes = "/dev/disk/by-id/";
# boot.zfs.extraPools = [ "radon" ];
services.nfs.server.enable = true;
networking.firewall.allowedTCPPorts = [ 2049 ];
depot.disk.enable = true;
depot.net = {
v6Token = "::cafe";
sshd.enable = true;
sshd.publish = true;
};
xnet = {
nginx.enable = true;
# disk = {
# enable = true;
# device = "/dev/nvme0n1";
# };
gitServer = {
enable = true;
gitweb.enable = true;
};
};
}
|