- CLAUDE.md orchestration policy, .claude/agents/mao-* agents, settings defaults - flake.nix inputs (nixpkgs-unstable, home-manager, agenix, disko, lanzaboote, nixos-hardware, hyprland, noctalia), lib.mkHost/mkInstaller - overlays: upstream Hyprland overlay, noctalia, additions, modifications - hosts/desktop: host options (AMD, Secure Boot, Hyprland, gaming) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
46 lines
1.0 KiB
Nix
46 lines
1.0 KiB
Nix
# 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";
|
|
}
|