chore(hosts/backstage): cleanup
This commit is contained in:
parent
e9a7e56e02
commit
a2c3d48fed
5 changed files with 57 additions and 56 deletions
|
@ -6,45 +6,6 @@
|
|||
../../services/sshd
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
};
|
||||
initrd = {
|
||||
network = {
|
||||
enable = true;
|
||||
ssh = {
|
||||
enable = true;
|
||||
port = 22;
|
||||
authorizedKeys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
hostKeys = [
|
||||
"/boot/efi/initrd_id_ed25519"
|
||||
"/boot/efi/initrd_id_rsa4096"
|
||||
];
|
||||
};
|
||||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
network = {
|
||||
enable = true;
|
||||
networks."10-dhcp" = {
|
||||
matchConfig.Name = "enp1s0";
|
||||
DHCP = "yes";
|
||||
};
|
||||
};
|
||||
targets.initrd.wants = [
|
||||
"systemd-networkd-wait-online@enp1s0.service"
|
||||
];
|
||||
users.root.shell = "/bin/systemd-tty-ask-password-agent";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue