fix: impermanence
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
c3e19aae29
commit
2e3fc206f4
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
{ lib, ... }:
|
|
||||||
{
|
{
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
|
|
||||||
|
|
@ -17,7 +16,9 @@
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"/etc/nixos"
|
"/etc/nixos"
|
||||||
|
"/etc/secrets"
|
||||||
"/var/log"
|
"/var/log"
|
||||||
|
"/var/lib/nixos"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue