2024-09-21 16:21:30 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
modulesPath,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
"${modulesPath}/installer/scan/not-detected.nix"
|
|
|
|
"${modulesPath}/profiles/qemu-guest.nix"
|
|
|
|
|
|
|
|
./disko.nix
|
|
|
|
./preservation.nix
|
2024-09-22 08:31:23 +00:00
|
|
|
|
|
|
|
../../../nixos/profiles/restic
|
2024-09-21 16:21:30 +00:00
|
|
|
]
|
|
|
|
++ (with inputs; [
|
|
|
|
disko.nixosModules.disko
|
|
|
|
preservation.nixosModules.preservation
|
|
|
|
]);
|
|
|
|
|
|
|
|
# vnc
|
|
|
|
services.getty.autologinUser = "root";
|
2024-09-30 11:45:07 +00:00
|
|
|
console = {
|
|
|
|
earlySetup = true;
|
|
|
|
keyMap = "dvorak";
|
|
|
|
};
|
2024-09-21 16:21:30 +00:00
|
|
|
|
|
|
|
networking = {
|
|
|
|
useNetworkd = true;
|
|
|
|
useDHCP = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.network.networks.ethernet = {
|
|
|
|
matchConfig.Name = [
|
|
|
|
"en*"
|
|
|
|
"eth*"
|
|
|
|
];
|
|
|
|
DHCP = "yes";
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.devices = lib.mkDefault [ "/dev/vda" ];
|
|
|
|
}
|