Add syncthing service
This commit is contained in:
parent
bc2e8d2166
commit
2acbcf0d60
|
@ -3,6 +3,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./git/personal.nix
|
./git/personal.nix
|
||||||
./env/zsh.nix
|
./env/zsh.nix
|
||||||
|
./env/fish.nix
|
||||||
./env/bat.nix
|
./env/bat.nix
|
||||||
./env/direnv.nix
|
./env/direnv.nix
|
||||||
./env/keychain.nix
|
./env/keychain.nix
|
||||||
|
@ -19,8 +20,10 @@
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
||||||
home.packages = with pkgs; [ silver-searcher ];
|
home.packages = with pkgs; [ silver-searcher ];
|
||||||
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
programs.zsh.shellAliases.update = "home-manager switch";
|
programs.zsh.shellAliases.update = "home-manager switch";
|
||||||
|
programs.fish.shellAbbrs.update = "home-manager switch";
|
||||||
programs.zsh.envExtra = ''
|
programs.zsh.envExtra = ''
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
../../env/keychain.nix
|
../../env/keychain.nix
|
||||||
../../env/pypoetry.nix
|
../../env/pypoetry.nix
|
||||||
../../env/starship.nix
|
../../env/starship.nix
|
||||||
|
../../env/syncthing.nix
|
||||||
../../terminal/wezterm.nix
|
../../terminal/wezterm.nix
|
||||||
../../tui/neovim.nix
|
../../tui/neovim.nix
|
||||||
../../tui/lazygit.nix
|
../../tui/lazygit.nix
|
||||||
|
|
8
home/env/syncthing.nix
vendored
Normal file
8
home/env/syncthing.nix
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
tray = true;
|
||||||
|
};
|
||||||
|
home.packages = with pkgs; [ syncthing-cli ];
|
||||||
|
}
|
Loading…
Reference in a new issue