46 lines
1.0 KiB
Nix
Executable File
46 lines
1.0 KiB
Nix
Executable File
# desktop: AMD CPU + AMD GPU workstation/gaming PC.
|
|
# System on the NVMe, part of /home on the SATA SSD (see disko.nix / my.disks).
|
|
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disks.nix
|
|
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
|
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
|
inputs.nixos-hardware.nixosModules.common-gpu-amd
|
|
inputs.nixos-hardware.nixosModules.common-pc-ssd
|
|
];
|
|
|
|
my = {
|
|
user = {
|
|
name = "faumaray";
|
|
fullName = "faumaray";
|
|
email = "faumaray@gmail.com";
|
|
};
|
|
|
|
locale = {
|
|
timeZone = "Europe/Moscow";
|
|
defaultLocale = "en_US.UTF-8";
|
|
keyboardLayouts = [
|
|
"us"
|
|
"ru"
|
|
];
|
|
keyboardOptions = [ "grp:alt_shift_toggle" ];
|
|
};
|
|
|
|
boot.secureBoot.enable = true;
|
|
|
|
hardware.amd.enable = true;
|
|
|
|
desktop.hyprland.enable = true;
|
|
gaming.enable = true;
|
|
|
|
secrets.enable = true;
|
|
};
|
|
|
|
home-manager.users.faumaray = ./home.nix;
|
|
|
|
# Set once at install time; do not change on upgrades.
|
|
system.stateVersion = "26.05";
|
|
}
|