nixos-config/machines/kholinar/default.nix
2021-01-17 17:49:58 +01:00

43 lines
868 B
Nix

{ pkgs, lib, ... }:
{
imports = [
./hardware.nix
../../profiles/graphical.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
networking = {
hostId = "3cc1a4b2";
hostName = "kholinar";
};
time.timeZone = "Europe/Brussels";
# Machine-specific settings
chvp = {
stateVersion = "20.09";
graphical = true;
bluetooth.enable = true;
docker.enable = true;
eid.enable = true;
git.email = "charlotte@vanpetegem.me";
gomuks.enable = true;
nix.enableUnfree = true;
zeroad.enable = true;
zfs = {
enable = true;
encrypted = true;
backups = [
{
path = "rpool/safe/data";
remotePath = "zdata/recv/kholinar/safe/data";
fast = true;
location = "lasting-integrity";
}
];
rootDataset = "rpool/local/root";
};
};
}