mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 15:43:55 -05:00
18 lines
364 B
Nix
18 lines
364 B
Nix
{config, ...}: {
|
|
networking.networkmanager = {
|
|
enable = true;
|
|
|
|
ensureProfiles = {
|
|
environmentFiles = [config.age.secrets.wifi.path];
|
|
profiles = import ./wifi.nix;
|
|
};
|
|
};
|
|
|
|
services.tailscale = {
|
|
enable = true;
|
|
authKeyFile = config.age.secrets.tailscaleAuthKey.path;
|
|
extraUpFlags = ["--ssh"];
|
|
openFirewall = true;
|
|
};
|
|
}
|