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

@ -11,43 +11,57 @@ in
];
ooknet.host = {
name = "ookst480s";
type = "laptop";
function = [ "workstation" ];
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
ooknet.host = {
name = "ookst480s";
type = "laptop";
role = "workstation";
profiles = [ "console-tools" ];
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
};
networking = {
tailscale = {
enable = true;
client = true;
};
hardware = {
cpu.type = "intel";
gpu.type = "intel";
features = [
"bluetooth"
"backlight"
"battery"
"ssd"
"audio"
"video"
];
battery = {
powersave = {
minFreq = 800;
maxFreq = 1800;
};
performance = {
minFreq = 1800;
maxFreq = 3600;
};
};
hardware = {
cpu.type = "intel";
gpu.type = "intel";
features = [
"bluetooth"
"backlight"
"battery"
"ssd"
"audio"
"video"
];
monitors = [{
name = "eDP-1";
width = 1920;
height = 1080;
workspace = "1";
primary = true;
}];
battery = {
powersave = {
minFreq = 800;
maxFreq = 1800;
};
performance = {
minFreq = 1800;
maxFreq = 3600;
};
};
};
};
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
};
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
};
system.stateVersion = mkDefault "23.11";
system.stateVersion = mkDefault "23.11";
}