Compare commits
No commits in common. "1fe2075869d9b6e97696769fc28466c15d58b028" and "d7fc75a3fc8ac3cae0cf6ddb06129e9521695fa5" have entirely different histories.
1fe2075869
...
d7fc75a3fc
2 changed files with 0 additions and 18 deletions
|
@ -10,8 +10,6 @@
|
|||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = lib.mkDefault "no";
|
||||
|
||||
services.fail2ban.enable = true;
|
||||
|
||||
# Activate nix flakes.
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
|
|
@ -17,22 +17,6 @@ in
|
|||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
|
||||
# use the latest kernel compatible with zfs
|
||||
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
|
||||
# setup automatic snapshots (~short term: retain no more than 1 month)
|
||||
services.zfs.autoSnapshot = {
|
||||
enable = true;
|
||||
frequent = 0;
|
||||
monthly = 0;
|
||||
};
|
||||
|
||||
# automatic scrub, 10th of each month at 3AM
|
||||
services.zfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "*-*-10 03:00:00";
|
||||
};
|
||||
|
||||
networking.hostName = "pastila"; # Define your hostname.
|
||||
networking.hostId = "8425e349";
|
||||
|
||||
|
|
Loading…
Reference in a new issue