Commit Graph

37 Commits

Author SHA1 Message Date
Colin d5643a6a5d assorted static-nix-shell packages: use `srcRoot` 2024-02-25 17:37:38 +00:00
Colin 52b8cd0209 modules/persist: ensure backing directory is created *before* we mount 2024-02-25 07:22:50 +00:00
Colin 5b8f13d9cc fs: notice when a fs entry is set to two incompatible types (e.g. symlink + dir) and error 2024-02-23 11:24:32 +00:00
Colin 6addf5a3b2 fs: symlink: add an option by which to control the symlink target name 2023-09-12 04:41:32 +00:00
Colin 51ecf1b54b sxmo: fix sxmo_hook_init.sh -> sxmo_hook_start.sh 2023-09-05 17:31:33 +00:00
Colin f62c844aaf modules: fs: allow symlink target to be a `path` 2023-09-05 17:21:02 +00:00
Colin ded5d94d69 modules: fs: add a "text" type to populate static text files when symlinks wont do 2023-08-31 12:56:30 +00:00
Colin 23e95ba2ba modules: fs: symlink.text: allow specifying it multiple times 2023-07-18 02:17:25 +00:00
Colin 23fb37a3e9 fs: have nodes `require` their parent instead of the weaker `want`
this may fix it so spurious (failed) mounts of ~/private *don't* create a bunch of directories that later cause a real mount to be impossible
2023-07-10 05:58:30 +00:00
Colin db72f5e11f fs: generated.script.scriptArgs -> generated.command 2023-07-08 11:15:23 +00:00
Colin 8753e5e0c6 fs: remove legacy `generated.script.script` option 2023-07-08 11:15:23 +00:00
Colin 3ce2716fbe fs: factor out the ensureSymlink/ensureDir/ensurePerms scripts 2023-07-08 10:35:10 +00:00
Colin e9293dbe07 fs: fix raciness that was causing `ensure-xyz` services to run multiple times per boot 2023-07-08 09:08:59 +00:00
Colin f18d624fd9 fs: avoid creating a new script for every fs entry 2023-07-08 09:00:49 +00:00
Colin 89f28e63b4 fs: leave a note about trying lazyAttrs 2023-05-08 09:50:10 +00:00
Colin adf72fc9d4 modules/fs: escape shell args 2023-03-22 19:52:04 +00:00
colin 6ca3e7086e merge: simplify the implementation and make fully compatible with lib.mkMerge 2023-01-09 11:14:59 +00:00
colin 9ca6a1c907 way overcomplicated way to merge toplevel config 2023-01-09 09:42:17 +00:00
colin b6208e1a19 fs: allow specifying text for a symlink directly 2023-01-06 15:26:39 +00:00
colin 19c254c266 fs: make symlinking more resilient when something's already at the location 2023-01-06 14:51:25 +00:00
colin e446bfba58 fs: fix eval error when told about a mount but not told about anything *in* that mount 2023-01-06 13:27:27 +00:00
colin 43a46af43b impermanence: cleanup backing directory creation. this should let me remove the per-store /home/<user> perms hack 2023-01-06 09:56:06 +00:00
colin c18dd9636d fs: symlinking: fix recursive links (don't follow links when creating new ones) 2023-01-06 05:32:31 +00:00
colin 3db388b105 servo: relocate `ext` device to /mnt/impermanence/ext and fixup deps 2023-01-04 12:12:30 +00:00
colin 2ba6116f10 fs/impermanence: more precisely control unit dependencies/ordering 2023-01-04 11:22:26 +00:00
colin 4d9c15f9b8 fs: fix file mode even if not newly created 2023-01-04 08:12:53 +00:00
colin 2c48e61854 fs: fix mode of deployed files; simplify 2023-01-04 07:14:01 +00:00
colin f89f756489 fs: create symlinks at multi-user target by default 2023-01-04 06:32:53 +00:00
colin c0da19951b fs: fix symlink ownership/perms 2023-01-04 06:28:44 +00:00
colin 5fb67306e4 fs: rework for `dir` to not be mandatory 2023-01-04 06:17:34 +00:00
colin 5533b586d7 fs: lift `depends` out of dir, to toplevel 2023-01-04 04:32:20 +00:00
colin fd79026366 fs: fix loose mount dependency 2023-01-04 04:06:19 +00:00
colin a76471cb1f fs: simplify the mount configuration 2023-01-04 03:57:24 +00:00
colin c94b8299a6 fs: add experimental support for symlink entries 2023-01-04 02:51:07 +00:00
colin 2960b895b6 lib: lift acl type into sane-lib/types 2023-01-04 00:59:52 +00:00
colin 93f1411522 fs: split helpers out into `sane-lib` module 2023-01-03 14:20:02 +00:00
colin fbc39d0584 modules: fs: move to subdir 2023-01-03 08:27:28 +00:00