mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-13 18:10:54 -06:00
fix: syncthing cucked
This commit is contained in:
parent
1eacc3aa09
commit
2cd05e31fc
15 changed files with 64 additions and 23 deletions
21
modules/nixos/homelab/helpers.nix
Normal file
21
modules/nixos/homelab/helpers.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake.config.people) user0;
|
||||
in
|
||||
{
|
||||
labHelpers = {
|
||||
mntPath = "/mnt/storage";
|
||||
groupPath = "/mnt/storage/users";
|
||||
userPath = user: "/mnt/storage/users/${user}";
|
||||
guestPath = user: "/mnt/storage/users/${user}/guests";
|
||||
homePath = user: "/mnt/storage/users/${user}/home";
|
||||
docsPath = user: "/mnt/storage/users/${user}/home/docs";
|
||||
mediaPath = user: "/mnt/storage/users/${user}/home/media";
|
||||
miscPath = user: "/mnt/storage/users/${user}/home/misc";
|
||||
};
|
||||
nasUsers = {
|
||||
nasUser0 = user0;
|
||||
nasUser1 = "stacie";
|
||||
nasUser2 = "garnet";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue