diff options
author | sefidel <contact@sefidel.net> | 2024-02-10 07:22:17 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-10 07:42:24 +0900 |
commit | d81b9852a46818b0c8edbff35d06a3445fa71a23 (patch) | |
tree | 3f1e112bce1401cf10a7da6da8b38381f5e4fe1a /nixos | |
parent | a785071f19faf4be8c8fd0a14c73ce845008887f (diff) | |
download | nixrc-d81b9852a46818b0c8edbff35d06a3445fa71a23.tar.gz nixrc-d81b9852a46818b0c8edbff35d06a3445fa71a23.zip |
feat(nixos/haruka): fix nm-applet and trayscale
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/haruka/configuration.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix index dc09c2a..50d91a2 100644 --- a/nixos/haruka/configuration.nix +++ b/nixos/haruka/configuration.nix @@ -77,6 +77,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"; @@ -232,6 +239,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}"; |