nix/sys/platforms/posixlycorrect/default.nix

50 lines
912 B
Nix

{
config,
pkgs,
lib,
flakes,
...
}: {
imports = [
flakes.home-manager.nixosModules.home-manager
flakes.impermanence.nixosModule
./hardware-configuration.nix
];
local.sys = {
defaultDesktopPack.enable = true;
yubikey.enable = true;
virtualisation.enable = true;
androidSupport.enable = true;
borgsync = {
enable = true;
paths = [
"/home/fabian/nix"
"/home/fabian/safe"
"/xtern/backup"
];
repoName = "posixlycorrect";
};
};
networking = {
hostName = "posixlycorrect";
hostId = "0414a727";
};
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
tmp.useTmpfs = true;
supportedFilesystems = ["zfs"];
zfs = {
forceImportRoot = false;
useKeyringForCredentials = true;
};
};
time.timeZone = "America/Costa_Rica";
}