fixup! WIP: nixos: system: add persist
This commit is contained in:
parent
d5337709c6
commit
b23cd9e891
|
@ -47,8 +47,9 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.persistence."${cfg.mountPoint}" = {
|
environment.persistence."${cfg.mountPoint}" = {
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id" # Machine-specific ID
|
"/etc/machine-id"
|
||||||
"/etc/adjtime" # Clock drift factor and offsets
|
"/etc/adjtime"
|
||||||
|
"/var/lib/systemd/timesync/clock"
|
||||||
]
|
]
|
||||||
++ lib.unique cfg.files
|
++ lib.unique cfg.files
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue