From 1caf2a2583bc27ac88354286f27289a59cb48113 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Tue, 17 Feb 2026 22:45:14 +0000 Subject: [PATCH] desktop switch now --- .../hosts/aspects/doloro-desktop/hardware.nix | 30 +++++++++++++++++++ config/hosts/aspects/doloro-desktop/home.nix | 9 ++++++ config/hosts/aspects/doloro-desktop/host.nix | 5 ---- 3 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 config/hosts/aspects/doloro-desktop/hardware.nix diff --git a/config/hosts/aspects/doloro-desktop/hardware.nix b/config/hosts/aspects/doloro-desktop/hardware.nix new file mode 100644 index 0000000..21421f2 --- /dev/null +++ b/config/hosts/aspects/doloro-desktop/hardware.nix @@ -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; + }; + }; +} diff --git a/config/hosts/aspects/doloro-desktop/home.nix b/config/hosts/aspects/doloro-desktop/home.nix index b46b0f6..4774ec7 100644 --- a/config/hosts/aspects/doloro-desktop/home.nix +++ b/config/hosts/aspects/doloro-desktop/home.nix @@ -16,6 +16,7 @@ virtual_audio_devices = true; autostart = true; }) + ]; nixos = { config, pkgs, ... }: @@ -25,5 +26,13 @@ hashedPasswordFile = config.sops.secrets."doloro-hashed_password".path; }; }; + homeManager = + { home, pkgs, ... }: + { + home.packages = with pkgs; [ + legcord + telegram + ]; + }; }; } diff --git a/config/hosts/aspects/doloro-desktop/host.nix b/config/hosts/aspects/doloro-desktop/host.nix index 8c5a6dd..71cafef 100644 --- a/config/hosts/aspects/doloro-desktop/host.nix +++ b/config/hosts/aspects/doloro-desktop/host.nix @@ -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" ];