ooknet/hosts/ooksdesk/default.nix

50 lines
931 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-1";
primary = true;
width = 1920;
height = 1080;
refreshRate = 60;
workspace = "1";
}
];
};
};
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;
};
system.stateVersion = lib.mkDefault "23.11";
}