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

47
profiles/desktop.nix Normal file
View File

@@ -0,0 +1,47 @@
{ lib, ... }:
{
# Boot loader configuration
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
configurationLimit = 10;
};
grub.enable = false;
timeout = 0;
};
security.pam.loginLimits = [
{
domain = "*";
type = "soft";
item = "nofile";
value = "524288";
}
];
# Graphics support
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# Printing service
services.printing.enable = true;
# GVFS for virtual filesystems
services.gvfs.enable = true;
# Enable desktop-related modules by default
my = {
audio.enable = true;
bluetooth.enable = true;
fonts.enable = true;
};
# Desktop persistence
my.persist = {
enable = lib.mkDefault true;
location = lib.mkDefault "/nix/persist";
};
}