snowfield/machines/newton/default.nix
2022-01-01 20:46:20 +01:00

36 lines
700 B
Nix

{ config, pkgs, lib, modulesPath, ... }:
let
hostName = "newton";
in
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
./hardware.nix
./home-julien.nix
../../users/julien.nix
../../users/default.nix
];
luj = {
filerun = {
enable = true;
subdomain = "cloud";
};
zfs-mails.enable = true;
};
networking.hostName = hostName;
networking.hostId = "f7cdfbc9";
networking.interfaces.enp2s0f0.useDHCP = true;
networking.interfaces.enp2s0f1.useDHCP = true;
services.fail2ban.enable = true;
services.zfs.autoSnapshot.enable = true;
services.zfs.autoScrub.enable = true;
system.stateVersion = "21.05";
}