diff options
author | sefidel <contact@sefidel.net> | 2024-02-10 07:21:48 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-10 07:42:24 +0900 |
commit | a785071f19faf4be8c8fd0a14c73ce845008887f (patch) | |
tree | 30947f990ff7750861a2c28c2f035351244de4c9 /nixos | |
parent | 8b6fa0c211fa275eb458181f26ccdc8993f95ea2 (diff) | |
download | nixrc-a785071f19faf4be8c8fd0a14c73ce845008887f.tar.gz nixrc-a785071f19faf4be8c8fd0a14c73ce845008887f.zip |
feat(nixos/alpha): fix nm-applet and trayscale
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/alpha/configuration.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 7463dc9..555eb96 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -70,6 +70,13 @@ systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = lib.mkForce [ "" "${pkgs.networkmanager}/bin/nm-online -q" ]; programs.nm-applet.enable = true; + systemd.user.services.nm-applet = { + after = [ "graphical-session.target" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = "5s"; + }; + }; i18n.defaultLocale = "en_US.UTF-8"; @@ -219,6 +226,13 @@ services.tailscale.enable = true; services.tailscale.useRoutingFeatures = "both"; programs.trayscale.enable = true; + systemd.user.services.trayscale = { + after = [ "graphical-session.target" ]; + serviceConfig = { + Restart = "on-failure"; + RestartSec = "5s"; + }; + }; # User = networkId; # nameToId = netName: "nebula-${netName}"; |