Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lovesegfault/baac6c81f6f9a4e929fae68ad23e6a9c to your computer and use it in GitHub Desktop.
Save lovesegfault/baac6c81f6f9a4e929fae68ad23e6a9c to your computer and use it in GitHub Desktop.
diff --git a/systems/foucault.nix b/systems/foucault.nix
index 24c6b91..88fe8d8 100644
--- a/systems/foucault.nix
+++ b/systems/foucault.nix
@@ -21,6 +21,11 @@
zfs rollback -r rpool/local/home@blank
'';
+ boot.initrd.postMountCommands = ''
+ mkdir -p -m 0700 /home/bemeurer
+ chown -R --reference /state/home/bemeurer /home/bemeurer
+ '';
+
fileSystems = {
"/" = {
device = "rpool/local/root";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment