Add hetznix01

This commit is contained in:
Gene Liverman 2024-02-05 00:45:52 -05:00 committed by Gene Liverman
parent 0d868fc0aa
commit a62a3d136a
9 changed files with 120 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, username, ... }: {
{ config, pkgs, username, ... }: {
imports = [
./hardware-configuration.nix
../../../system/common/linux/flatpaks.nix
@ -73,6 +73,8 @@
gvfs.enable = true; # Used by Nautilus
printing.enable = true; # Enable CUPS
tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_key.path;
extraUpFlags = [
"--operator"
"${username}"
@ -120,6 +122,9 @@
owner = "${username}";
path = "/home/${username}/.private-env";
};
tailscale_key = {
restartUnits = [ "tailscaled-autoconnect.service" ];
};
};
};