updated syncthing.nix

This commit is contained in:
serenity-F 2024-12-27 13:00:29 +10:00
parent 9df810e9ba
commit 00b8284314
3 changed files with 67 additions and 35 deletions

View file

@ -125,10 +125,15 @@
## Universal variable declarations
primaryUser = "serenity"; # used for admin purposes
#flakePath = "/home/${primaryUser}/SerenityOS/"; # for v1.0.0 release
flakePath = "/home/${primaryUser}/flakes/nixdots/"; # current path
disksPath = "/home/${primaryUser}/Disks/";
homeDir = "/home/${primaryUser}"; # for easy configuration
disksPath = "${homeDir}/Disks/";
flakePath = "${homeDir}/flakes/nixdots/"; # current path to flake
#flakePath = "${homeDir}/SerenityOS/"; # for v1.0.0 release
in {
@ -141,7 +146,7 @@
specialArgs = {
inherit inputs outputs;
inherit flakePath disksPath;
inherit primaryUser;
inherit primaryUser homeDir;
};
modules = [
sops-nix.nixosModules.sops
@ -160,7 +165,7 @@
specialArgs = {
inherit inputs outputs;
inherit flakePath disksPath;
inherit primaryUser;
inherit primaryUser homeDir;
};
modules = [
sops-nix.nixosModules.sops
@ -175,7 +180,7 @@
specialArgs = {
inherit inputs outputs;
inherit flakePath disksPath;
inherit primaryUser;
inherit primaryUser homeDir;
};
modules = [
sops-nix.nixosModules.sops
@ -189,7 +194,7 @@
specialArgs = {
inherit inputs outputs;
inherit flakePath disksPath;
inherit primaryUser;
inherit primaryUser homeDir;
};
modules = [
sops-nix.nixosModules.sops