mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 03:51:53 -05:00
moved syncthing to home-manager
This commit is contained in:
parent
e5acc444c6
commit
c554e3cca9
|
@ -5,6 +5,8 @@
|
|||
home.username = "aly";
|
||||
home.homeDirectory = "/home/aly";
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
vscode
|
||||
|
@ -15,6 +17,7 @@
|
|||
git
|
||||
nnn # terminal file manager
|
||||
wget
|
||||
syncthing
|
||||
];
|
||||
|
||||
# basic configuration of git, please change to your own
|
||||
|
|
|
@ -38,13 +38,13 @@
|
|||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
# Set up syncthing to run as aly.
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
user = "aly";
|
||||
dataDir = "/home/aly"; # Default folder for new synced folders
|
||||
configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||
};
|
||||
};
|
||||
# services = {
|
||||
# syncthing = {
|
||||
# enable = true;
|
||||
# user = "aly";
|
||||
# dataDir = "/home/aly"; # Default folder for new synced folders
|
||||
# configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue