aboutsummaryrefslogtreecommitdiff
path: root/nixos/services/syncthing.service.nix
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-07-31 14:46:59 +0000
committerZhongheng Liu <z.liu@outlook.com.gr>2024-07-31 14:46:59 +0000
commit0770a70d0bb4899cc2496662482ec20b0b6588c5 (patch)
treee59f42c5645549f093be111fbb1b83f492b45690 /nixos/services/syncthing.service.nix
parent8fecc5f5924c9a56ee4ee034d74cd8af3efd5fee (diff)
downloadnixos-configuration-0770a70d0bb4899cc2496662482ec20b0b6588c5.tar.gz
nixos-configuration-0770a70d0bb4899cc2496662482ec20b0b6588c5.tar.bz2
nixos-configuration-0770a70d0bb4899cc2496662482ec20b0b6588c5.zip
feat: created variable-based nix configuration
Added variables.nix Added Syncthing service definition
Diffstat (limited to 'nixos/services/syncthing.service.nix')
-rw-r--r--nixos/services/syncthing.service.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/services/syncthing.service.nix b/nixos/services/syncthing.service.nix
index 17d52b1..24dbd28 100644
--- a/nixos/services/syncthing.service.nix
+++ b/nixos/services/syncthing.service.nix
@@ -1,8 +1,6 @@
{pkgs, lib, ...}:
-let
- myUserName = "";
-in
{
enable = true;
- user = ""
+ user = "${config.myUserName}";
+
}