feat!: use systemd-boot for server

This commit is contained in:
Moritz Böhme 2025-03-31 11:06:49 +00:00
parent 484cc3a74b
commit 6ad98b5265
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 2 additions and 6 deletions

View file

@ -1,13 +1,12 @@
{ config, clan-core, ... }:
{
imports = [
# Enables the OpenSSH server for remote access
clan-core.clanModules.sshd
# Set a root password
clan-core.clanModules.root-password
clan-core.clanModules.user-password
clan-core.clanModules.state-version
clan-core.clanModules.static-hosts
clan-core.clanModules.machine-id
];
# Locale service discovery and mDNS

View file

@ -12,10 +12,7 @@ in
clan-core.clanModules.disk-id
];
# DO NOT EDIT THIS FILE AFTER INSTALLATION of a machine
# Otherwise your system might not boot because of missing partitions / filesystems
boot.loader.grub.efiSupport = lib.mkDefault true;
boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true;
boot.loader.systemd-boot.enable = true;
disko.devices = {
disk = {
"main" = {