desktop switch now

This commit is contained in:
2026-02-17 22:45:14 +00:00
parent 07e47f87e6
commit 1caf2a2583
3 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,30 @@
{ den, modules, ... }:
{
den.aspects.desktop = {
nixos =
{
modulesPath,
pkgs,
config,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = pkgs.lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = pkgs.lib.mkDefault config.hardware.enableRedistributableFirmware;
};
};
}

View File

@@ -16,6 +16,7 @@
virtual_audio_devices = true;
autostart = true;
})
<modules/common/gaming>
];
nixos =
{ config, pkgs, ... }:
@@ -25,5 +26,13 @@
hashedPasswordFile = config.sops.secrets."doloro-hashed_password".path;
};
};
homeManager =
{ home, pkgs, ... }:
{
home.packages = with pkgs; [
legcord
telegram
];
};
};
}

View File

@@ -25,14 +25,9 @@
networking.hostName = "doloroo-main"; # Define your hostname.
boot.kernelPackages = pkgs.linuxPackages_latest;
# Enable "Silent boot"
boot.consoleLogLevel = 3;
boot.initrd.verbose = false;
boot.kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];