2023-12-20 13:15:57 +01:00
|
|
|
{ lib, pkgs, ... }:
|
2023-06-07 14:13:36 +02:00
|
|
|
|
|
|
|
let
|
2023-12-20 13:15:57 +01:00
|
|
|
dgn-lib = import ../lib { };
|
2023-06-07 14:13:36 +02:00
|
|
|
|
2024-05-14 23:32:08 +02:00
|
|
|
dgn-members = (import ../meta lib).members.groups.root;
|
2023-06-07 14:13:36 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
{
|
2023-06-08 10:20:55 +02:00
|
|
|
imports = [ ./dgn-install ];
|
|
|
|
|
2023-06-07 14:13:36 +02:00
|
|
|
boot = {
|
|
|
|
blacklistedKernelModules = [ "snd_pcsp" ];
|
|
|
|
kernelPackages = pkgs.linuxPackages_6_1;
|
|
|
|
tmp.cleanOnBoot = true;
|
|
|
|
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
supportedFilesystems = [
|
|
|
|
"exfat"
|
|
|
|
"zfs"
|
|
|
|
];
|
2023-12-20 13:15:57 +01:00
|
|
|
|
|
|
|
swraid.enable = lib.mkForce false;
|
2023-06-07 14:13:36 +02:00
|
|
|
};
|
|
|
|
|
2023-06-08 10:20:55 +02:00
|
|
|
console.keyMap = "fr";
|
|
|
|
|
2023-06-07 14:13:36 +02:00
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-10 01:03:30 +01:00
|
|
|
users.users.root.openssh.authorizedKeys.keyFiles = builtins.map (
|
|
|
|
m: dgn-lib.mkRel ../keys "${m}.keys"
|
|
|
|
) dgn-members;
|
2023-06-07 14:13:36 +02:00
|
|
|
}
|