blob: fc6b8542ccf31b76587c9d59f4f7da0954a20113 (
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
|
{ config, lib, pkgs, ... }: {
imports = [
./key.nix
./networking.nix
./fileshares.nix
];
# Setup bootloader
boot._loader.enable = true;
# Enable common options
_archetypes = {
profiles = {
headless = {
enable = true;
home.users.timmy.enable = true;
};
zfs.enable = true;
#cuda.enable = true;
};
collections.virtualization.enable = true;
};
# Import zfs pools
boot.zfs.extraPools = [ "VMDisk" "Storage" ];
# Enable user timmy
_users.timmy.enable = true;
# Without this, "ZFS requires networking.hostId to be set" will be raised
networking.hostId = "2c7d6b03";
system.stateVersion = "26.05";
}
|