about summary refs log tree commit diff
path: root/hardware/virtualbox/disks.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-13 17:13:25 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-13 17:13:27 +0200
commit4821155d7261f07274afbb397c1bce2522fe4106 (patch)
treef2584a7e33b01dfd22c26ffe612c5d07e5f993ab /hardware/virtualbox/disks.nix
parentMisc: Add deploy-rs tool and setup deploy configurations (diff)
downloadnixos-config-4821155d7261f07274afbb397c1bce2522fe4106.tar.gz
nixos-config-4821155d7261f07274afbb397c1bce2522fe4106.tar.bz2
nixos-config-4821155d7261f07274afbb397c1bce2522fe4106.zip
Hardware: Disks: Persist /root
This fixes things like not saving root ssh known hosts. ("Needed") for
deploy-rs
Diffstat (limited to '')
-rw-r--r--hardware/virtualbox/disks.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hardware/virtualbox/disks.nix b/hardware/virtualbox/disks.nix
index dc322ab..ab2e053 100644
--- a/hardware/virtualbox/disks.nix
+++ b/hardware/virtualbox/disks.nix
@@ -52,6 +52,7 @@ in
       directories = [
         "/var/log"
         "/var/lib"
+        "/root"
       ];
       files = [
         "/etc/machine-id"