refactor(nixos:tailcale): move options --> ooknet.host.networking.tailscale

This commit is contained in:
ooks-io 2024-06-12 22:32:58 +12:00
parent fa926b9453
commit dd6271f7d6
7 changed files with 195 additions and 224 deletions

View file

@ -12,17 +12,20 @@ in
ooknet.host = {
name = "ooksmedia";
type = "desktop";
function = [
"workstation"
"gaming"
"media-server"
];
role = "workstation";
profiles = [ "media-server" "console-tools" ];
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
};
networking = {
tailscale = {
enable = true;
server = true;
};
};
hardware = {
cpu.type = "intel";
cpu.amd.pstate.enable = true;
@ -34,12 +37,6 @@ in
];
};
};
ooknet.networking.tailscale = {
enable = true;
server = true;
};
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;
};