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

@ -1,4 +1,4 @@
{ lib, config, inputs, pkgs, ... }:
{ lib, pkgs, ... }:
let
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
@ -13,13 +13,19 @@ in
name = "ooksdesk";
type = "desktop";
role = "workstation";
profiles = [ "gaming" "creative" ];
profiles = [ "gaming" "creative" "console-tools" ];
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
homeManager = true;
};
networking = {
tailscale = {
enable = true;
client = true;
};
};
hardware = {
cpu.type = "amd";
cpu.amd.pstate.enable = true;
@ -35,11 +41,6 @@ in
}];
};
};
ooknet.networking.tailscale = {
enable = true;
client = true;
};
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;