zaphyra's git: nixfiles

zaphyra and void's nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
{ ... }:

{

  home.persistence."/nix/persist/home/zaphyra" = {
    allowOther = true;
    removePrefixDirectory = true;
    directories =
      let
        symlink = path: {
          method = "symlink";
          directory = path;
        };
      in
      [
        (symlink "syncthing/Documents")
        (symlink "syncthing/Bahn-Richtlinien")
        (symlink "syncthing/Videos")
        (symlink "syncthing/Pictures")
        (symlink "syncthing/Music")
        (symlink "syncthing/Audiobooks")
        (symlink "data/Downloads")
        (symlink "data/proj")
      ];
  };

}