home: remove ~/private symlink; move to .persist/private and add related aliases

This commit is contained in:
2024-02-23 06:20:21 +00:00
parent e5ad0862fb
commit 2ada436634

View File

@@ -1,4 +1,4 @@
{ ... }: { config, ... }:
{ {
sane.user.persist.byStore.plaintext = [ sane.user.persist.byStore.plaintext = [
"archive" "archive"
@@ -25,8 +25,12 @@
]; ];
# convenience # convenience
sane.user.fs."private".symlink.target = "/mnt/persist/private"; sane.user.fs.".persist/private".symlink.target = config.sane.persist.stores.private.origin;
sane.user.fs.".persist/plaintext".symlink.target = config.sane.persist.stores.plaintext.origin;
sane.user.fs.".persist/ephemeral".symlink.target = config.sane.persist.stores.cryptClearOnBoot.origin;
sane.user.fs."nixos".symlink.target = "dev/nixos"; sane.user.fs."nixos".symlink.target = "dev/nixos";
sane.user.fs."Books/servo".symlink.target = "/mnt/servo/media/Books"; sane.user.fs."Books/servo".symlink.target = "/mnt/servo/media/Books";
sane.user.fs."Videos/servo".symlink.target = "/mnt/servo/media/Videos"; sane.user.fs."Videos/servo".symlink.target = "/mnt/servo/media/Videos";
# sane.user.fs."Music/servo".symlink.target = "/mnt/servo/media/Music"; # sane.user.fs."Music/servo".symlink.target = "/mnt/servo/media/Music";