refactor: complete rewrite

This commit is contained in:
ooks-io 2024-10-23 23:46:25 +13:00
parent 19a4bbda3c
commit 8e81943cf9
399 changed files with 3396 additions and 8042 deletions

View file

@ -1,54 +0,0 @@
{
lib,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./modules
];
ooknet.host = {
name = "ooksmedia";
type = "desktop";
role = "workstation";
profiles = ["media-server" "console-tools"];
admin = {
name = "ooks";
shell = "fish";
homeManager = true;
};
networking = {
tailscale = {
enable = true;
server = true;
autoconnect = true;
};
};
hardware = {
cpu.type = "intel";
cpu.amd.pstate.enable = true;
gpu.type = "nvidia";
features = [
"audio"
"video"
"ssd"
];
monitors = [
{
name = "HDMI-A-1";
width = 1920;
height = 1080;
refreshRate = 60;
workspace = "1";
primary = true;
}
];
};
};
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;
};
system.stateVersion = lib.mkDefault "23.11";
}