add aspects/desktop/ modules

Desktop-specific NixOS and home-manager configuration:
boot, desktop, niri, nix, services

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
William 2026-02-06 22:36:22 -03:00
parent 0f193778c2
commit 37f2d5f64a
5 changed files with 578 additions and 0 deletions

30
aspects/desktop/boot.nix Normal file
View file

@ -0,0 +1,30 @@
{ inputs, ... }:
{
flake.modules.nixos.desktop-boot = { config, lib, pkgs, ... }: {
# Import parent aspect for inheritance
imports = [ inputs.self.modules.nixos.common-boot ];
boot = {
plymouth.enable = true;
initrd.systemd.enable = true;
loader.efi.efiSysMountPoint = "/boot/efi";
kernelPackages = pkgs.linuxPackages_xanmod_latest;
extraModprobeConfig = ''
options bluetooth disable_ertm=1
'';
kernel.sysctl = {
"net.ipv4.tcp_mtu_probing" = 1;
};
kernelParams = [
"quiet"
"splash"
"i2c-dev"
"i2c-piix4"
"loglevel=3"
"udev.log_priority=3"
"rd.udev.log_level=3"
"rd.systemd.show_status=false"
];
};
};
}