desktop switch now
This commit is contained in:
30
config/hosts/aspects/doloro-desktop/hardware.nix
Normal file
30
config/hosts/aspects/doloro-desktop/hardware.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user