enableRollback = true;
};
+ # Full backup:
+ # The star after /var/lib/* avoids deleting all folders in case of problem
+ # rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu:
eldiron = { config, pkgs, mylibs, myconfig, ... }:
with mylibs;
let
./modules/gitolite.nix
./modules/gitweb.nix
./modules/databases.nix
- ./modules/websites.nix
+ ./modules/websites
];
services.myGitolite.enable = true;
services.myGitweb.enable = true;
networking = {
firewall = {
enable = true;
- allowedTCPPorts = [ 22 80 443 9418 ];
+ allowedTCPPorts = [ 22 9418 ];
};
- interfaces."eth0".ipv4.addresses = [
- # 176.9.151.89 declared in nixops -> infra / tools
- { address = myconfig.ips.production; prefixLength = 32; }
- { address = myconfig.ips.integration; prefixLength = 32; }
- ];
};
deployment = {