From 5115a419179cdf2075836815a3bad6d4c6cb0e45 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Fri, 3 Apr 2026 06:28:57 +0000 Subject: [PATCH] Remove freeradius mount (config moved to nix) --- hosts/deimos/home.nix | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/hosts/deimos/home.nix b/hosts/deimos/home.nix index 0f4e3b8..d99b44d 100644 --- a/hosts/deimos/home.nix +++ b/hosts/deimos/home.nix @@ -7,23 +7,6 @@ _: { "$HOME/.antigravity-server" ]; - systemd.user.mounts.home-artem-src-freeradius = { - Unit = { - Description = "Mount ~/src/freeradius"; - After = [ "network-online.target" ]; - Wants = [ "network-online.target" ]; - }; - Mount = { - What = "root@nas.home.arpa:/mnt/main/critical-services/freeradius/config"; - Where = "/home/artem/src/freeradius"; - Type = "fuse.sshfs"; - Options = "reconnect,ServerAliveInterval=15,uid=1000,gid=1000,IdentityAgent=/home/artem/.ssh/ssh_auth_sock"; - }; - Install = { - WantedBy = [ "default.target" ]; - }; - }; - systemd.user.mounts.home-artem-src-haremote = { Unit = { Description = "Mount ~/src/haremote"; @@ -43,9 +26,8 @@ _: { programs.zsh.loginExtra = '' if [ -n "$SSH_AUTH_SOCK" ]; then - mkdir -p ~/src/haremote ~/src/freeradius + mkdir -p ~/src/haremote [ -z "$(ls -A ~/src/haremote 2>/dev/null)" ] && systemctl --user restart home-artem-src-haremote.mount - [ -z "$(ls -A ~/src/freeradius 2>/dev/null)" ] && systemctl --user restart home-artem-src-freeradius.mount fi ''; }