setup syncthing as user service

This commit is contained in:
Leonardo Eugênio 2022-10-18 20:58:23 -03:00
parent bc48b5e8d3
commit 569c4fb5da
2 changed files with 6 additions and 9 deletions

View file

@ -146,12 +146,6 @@ in {
};
# services.getty.autologinUser = "lelgenio";
programs.fish.enable = true;
services.syncthing = {
enable = true;
user = "lelgenio";
dataDir = "/home/lelgenio/";
configDir = "/home/lelgenio/.config/syncthing";
};
# TODO: enable thunar plugins
# programs.thunar.enable = true;
# programs.thunar.plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
@ -159,8 +153,7 @@ in {
services.tumbler.enable = true; # Thumbnail support for images
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
@ -195,7 +188,7 @@ in {
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
bemenu # wayland clone of dmenu
mako # notification system developed by swaywm maintainer
(orchis-theme.override { tweaks = [ "compact" "solid" ]; })
orchis_theme_compact
pulseaudio
docker-compose

View file

@ -259,6 +259,10 @@ in {
output_folder = "/home/lelgenio";
};
};
services.syncthing = {
enable = true;
tray.enable = true;
};
systemd.user.services = {
discord = {
Unit = {