mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
45 lines
840 B
Nix
45 lines
840 B
Nix
let
|
|
vars = import ./vars.nix;
|
|
in
|
|
{
|
|
imports = [
|
|
../../users/richie
|
|
../../common/global
|
|
../../common/optional/docker.nix
|
|
../../common/optional/ssh_decrypt.nix
|
|
../../common/optional/syncthing_base.nix
|
|
../../common/optional/zerotier.nix
|
|
./docker
|
|
./hardware.nix
|
|
./home_assistant.nix
|
|
./jellyfin.nix
|
|
./networking.nix
|
|
./programs.nix
|
|
./runner.nix
|
|
./services.nix
|
|
./syncthing.nix
|
|
];
|
|
|
|
boot.zfs.extraPools = [
|
|
"media"
|
|
"storage"
|
|
"torrenting"
|
|
];
|
|
|
|
services = {
|
|
openssh.ports = [ 629 ];
|
|
|
|
nix-serve = {
|
|
enable = true;
|
|
secretKeyFile = "${vars.storage_secrets}/services/nix-cache/cache-priv-key.pem";
|
|
openFirewall = true;
|
|
};
|
|
|
|
smartd.enable = true;
|
|
|
|
snapshot_manager.path = ./snapshot_config.toml;
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|