feat: massive refactor

This commit is contained in:
2025-12-20 12:57:47 +08:00
parent f4c1b313ce
commit 454ad5885d
97 changed files with 1023 additions and 960 deletions

26
profiles/server.nix Normal file
View File

@@ -0,0 +1,26 @@
{ lib, ... }:
{
# Boot loader configuration
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
configurationLimit = 10;
};
grub.enable = false;
timeout = 0;
};
# Disable desktop features on servers
my = {
audio.enable = false;
bluetooth.enable = false;
fonts.enable = false;
};
# Server persistence
my.persist = {
enable = lib.mkDefault true;
location = lib.mkDefault "/nix/persist";
};
}