infrastructure/iso/configuration.nix
2023-06-07 14:13:36 +02:00

32 lines
587 B
Nix

{ pkgs, ... }:
let
dgn-lib = import ../lib/trivial.nix;
dgn-members = (import ../meta).members.groups.iso;
in
{
boot = {
blacklistedKernelModules = [ "snd_pcsp" ];
kernelPackages = pkgs.linuxPackages_6_1;
tmp.cleanOnBoot = true;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
supportedFilesystems = [
"exfat"
"zfs"
];
};
services = {
openssh.enable = true;
};
users.users.root.openssh.authorizedKeys.keyFiles =
builtins.map (m: dgn-lib.mkRel ../keys "${m}.keys") dgn-members;
}