50 lines
932 B
Nix
50 lines
932 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
ooknet.host = {
|
|
name = "ooksdesk";
|
|
type = "desktop";
|
|
role = "workstation";
|
|
profiles = ["gaming" "creative" "media" "console-tools"];
|
|
admin = {
|
|
name = "ooks";
|
|
shell = "fish";
|
|
homeManager = true;
|
|
};
|
|
networking = {
|
|
tailscale = {
|
|
enable = true;
|
|
client = true;
|
|
autoconnect = true;
|
|
};
|
|
};
|
|
hardware = {
|
|
cpu.type = "amd";
|
|
cpu.amd.pstate.enable = true;
|
|
gpu.type = "amd";
|
|
features = ["ssd" "audio" "video"];
|
|
monitors = [
|
|
{
|
|
name = "DP-3";
|
|
primary = true;
|
|
width = 1920;
|
|
height = 1080;
|
|
refreshRate = 180;
|
|
workspace = "1";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
|
};
|
|
|
|
system.stateVersion = lib.mkDefault "23.11";
|
|
}
|