mirror of https://gitlab.crans.org/nounous/nixos
40 lines
566 B
Nix
40 lines
566 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./peertube.nix
|
|
];
|
|
|
|
networking.hostName = "peertube";
|
|
boot.loader.grub.devices = [ "/dev/sda" ];
|
|
|
|
crans = {
|
|
enable = true;
|
|
|
|
networking = {
|
|
id = "60";
|
|
srv = {
|
|
enable = true;
|
|
ipv4 = "185.230.79.8";
|
|
};
|
|
san = {
|
|
enable = true;
|
|
interface = "ens20";
|
|
};
|
|
};
|
|
|
|
nfs = {
|
|
video.enable = true;
|
|
};
|
|
|
|
services = {
|
|
acme.enable = true;
|
|
};
|
|
|
|
resticClient.when = "05:32";
|
|
};
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|