40 lines
No EOL
733 B
Nix
40 lines
No EOL
733 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.mainsrv =
|
|
{ ... }:
|
|
{
|
|
networking.hostName = "mainsrv";
|
|
imports = with inputs.self.modules.nixos; [
|
|
system-cli
|
|
backup
|
|
|
|
caddy
|
|
mailserver
|
|
ntfy
|
|
samba
|
|
vaultwarden
|
|
stash
|
|
sillytavern
|
|
jellyfin
|
|
fail2ban-jellyfin
|
|
invidious
|
|
hass
|
|
immich
|
|
ptrackers
|
|
frigate
|
|
arr
|
|
forgejo
|
|
];
|
|
|
|
home-manager.sharedModules = with inputs.self.modules.homeManager; [
|
|
system-cli
|
|
];
|
|
|
|
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
boot.zfs.forceImportRoot = false;
|
|
boot.zfs.extraPools = [ "AquaArchives" ];
|
|
services.zfs.autoScrub.enable = true;
|
|
networking.hostId = "225438a5";
|
|
};
|
|
} |