treefmt / nix fmt (pull_request) Successful in 4s
pytest / pytest (pull_request) Successful in 1m30s
test ebook search / test-ebook-search (pull_request) Successful in 1m28s
build_systems / build-portal-1 (pull_request) Successful in 2m51s
build_systems / build-bob (pull_request) Successful in 3m43s
build_systems / build-jeeves (pull_request) Successful in 3m43s
build_systems / build-brain (pull_request) Successful in 3m29s
build_systems / build-rhapsody-in-green (pull_request) Successful in 3m54s
treefmt / nix fmt (push) Successful in 4s
build_systems / build-portal-1 (push) Successful in 24s
pytest / pytest (push) Successful in 33s
build_systems / build-brain (push) Successful in 41s
test ebook search / test-ebook-search (push) Successful in 38s
build_systems / build-bob (push) Successful in 46s
build_systems / build-jeeves (push) Successful in 1m2s
build_systems / build-rhapsody-in-green (push) Successful in 1m5s
- add a performance-tuned media/containers dataset - store Docker and NixOS container state on the dataset - prepare storage directories after ZFS mounts - bind NixOS container state to its required path - configure snapshot retention for container storage
47 lines
1.0 KiB
Nix
47 lines
1.0 KiB
Nix
{ inputs, lib, ... }:
|
|
let
|
|
vars = import ./vars.nix;
|
|
in
|
|
{
|
|
imports = [
|
|
"${inputs.self}/users/math"
|
|
"${inputs.self}/users/richie"
|
|
"${inputs.self}/users/steve"
|
|
"${inputs.self}/common/global"
|
|
"${inputs.self}/common/optional/docker.nix"
|
|
"${inputs.self}/common/optional/monitoring-agent.nix"
|
|
"${inputs.self}/common/optional/ssh_decrypt.nix"
|
|
"${inputs.self}/common/optional/syncthing_base.nix"
|
|
"${inputs.self}/common/optional/tailscale.nix"
|
|
"${inputs.self}/common/optional/update.nix"
|
|
"${inputs.self}/common/optional/zfs"
|
|
./monitoring
|
|
./docker
|
|
./services
|
|
./containers.nix
|
|
./hardware.nix
|
|
./networking
|
|
./programs.nix
|
|
./runners
|
|
./syncthing.nix
|
|
];
|
|
|
|
services = {
|
|
openssh.ports = [ 629 ];
|
|
|
|
smartd.enable = true;
|
|
|
|
snapshot_manager = {
|
|
path = ./snapshot_config.toml;
|
|
EnvironmentFile = "${vars.secrets}/services/snapshot_manager";
|
|
};
|
|
};
|
|
|
|
users.groups = {
|
|
nornsight = { };
|
|
nornsight-admin = { };
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|