Moved syncthing to userspace

This commit is contained in:
2026-01-25 23:29:52 -07:00
parent 4756405ccd
commit c9748d88ba
4 changed files with 9 additions and 24 deletions

View File

@@ -12,6 +12,7 @@ let
./home/librewolf.nix
./home/zed.nix
./home/ghostty.nix
./home/syncthing.nix
];
in
{

View File

@@ -16,6 +16,14 @@
"nf" = "neofetch";
};
programs.bash = {
enable = true;
};
programs.zsh = {
enable = true;
};
programs.starship = {
enable = true;
enableBashIntegration = true;

View File

@@ -10,18 +10,4 @@
BROWSER = "librewolf";
SSH_AUTH_SOCK = "${config.home.homeDirectory}/.bitwarden-ssh-agent.sock";
};
programs.bash = {
enable = true;
initExtra = ''
export SSH_AUTH_SOCK="${config.home.homeDirectory}/.bitwarden-ssh-agent.sock"
'';
};
programs.zsh = {
enable = true;
initContent = ''
export SSH_AUTH_SOCK="${config.home.homeDirectory}/.bitwarden-ssh-agent.sock"
'';
};
}

View File

@@ -56,16 +56,6 @@ in
};
};
services = {
syncthing = {
enable = true;
group = "wheel";
user = "${settings.username}";
dataDir = "/home/${settings.username}/syncthing/data";
configDir = "/home/${settings.username}/syncthing/conf";
};
};
services.avahi.publish.enable = true;
services.avahi.publish.userServices = true;