mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-01 01:30:53 +02:00
32 lines
637 B
Nix
32 lines
637 B
Nix
{ config, pkgs, lib, modulesPath, ... }:
|
|
let
|
|
hostName = "newton";
|
|
in
|
|
{
|
|
|
|
imports =
|
|
[
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
./hardware.nix
|
|
./home-julien.nix
|
|
];
|
|
|
|
luj = {
|
|
filerun.enable = true;
|
|
zfs-mails.enable = true;
|
|
};
|
|
|
|
programs.gnupg.agent.enable = true;
|
|
|
|
networking.hostName = hostName;
|
|
networking.hostId = "f7cdfbc9";
|
|
networking.interfaces.enp2s0f0.useDHCP = true;
|
|
networking.interfaces.enp2s0f1.useDHCP = true;
|
|
networking.firewall.enable = true;
|
|
|
|
services.zfs.autoSnapshot.enable = true;
|
|
services.zfs.autoScrub.enable = true;
|
|
|
|
system.stateVersion = "21.05";
|
|
|
|
}
|