refactor(nixos:tailcale): move options --> ooknet.host.networking.tailscale
This commit is contained in:
parent
fa926b9453
commit
dd6271f7d6
7 changed files with 195 additions and 224 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue