add ktailctl
and reconfigure tailscale to have sensible defaults
This commit is contained in:
parent
855b38eef5
commit
5a8f369e02
2 changed files with 18 additions and 1 deletions
|
@ -6,6 +6,7 @@ let
|
|||
onlyoffice-bin
|
||||
krita
|
||||
ytmdesktop
|
||||
ktailctl
|
||||
wl-clipboard
|
||||
# we install xdg-desktop-portal-gtx so theming works from kde
|
||||
xdg-desktop-portal-gtk
|
||||
|
@ -19,4 +20,20 @@ in {
|
|||
corefonts
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
];
|
||||
|
||||
# Systemd user services
|
||||
# See https://wiki.nixos.org/wiki/Systemd/User_Services for more information
|
||||
systemd.user.services = {
|
||||
ktailctl = {
|
||||
enable = true;
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "default.target" ];
|
||||
description =
|
||||
"A GUI to monitor and manage Tailscale on your Linux desktop, built using KDE Frameworks and Kirigami2.";
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.ktailctl}/bin/ktailctl";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
# with the contents of your Tailscale auth key.
|
||||
# Make sure your permissions are set correctly, e.g. 0600.
|
||||
authKeyFile = "/run/secrets/tailscale";
|
||||
extraUpFlags = [ "--ssh" ];
|
||||
extraUpFlags = [ "--ssh" "--accept-routes" "--accept-dns" "--operator=cswimr" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue