about summary refs log tree commit diff
path: root/modules/persistence/systemd/default.nix
blob: ac0c53a05535242d08e219d9a48441cfb5aa3c59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ ... }:

{
  fileSystems."/etc/machine-id" = {
    device = "/persist/safe/etc/machine-id";
    options = [ "bind" ];
    neededForBoot = true;
  };

  fileSystems."/var/log/journal" = {
    device = "/persist/safe/var/log/journal";
    options = [ "bind" ];
  };
}