mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Remove persist
This commit is contained in:
parent
f7fe0becd1
commit
aba1da6c1f
2 changed files with 20 additions and 20 deletions
|
|
@ -3,15 +3,15 @@ with lib; {
|
|||
options.mods.impermanence.enable = mkEnableOption "enables impermanence";
|
||||
|
||||
config = mkIf config.mods.impermanence.enable {
|
||||
environment.persistence."/persistent" = {
|
||||
directories = [
|
||||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
files = [ "/etc/machine-id" ];
|
||||
};
|
||||
# environment.persistence."/persistent" = {
|
||||
# directories = [
|
||||
# "/var/lib/bluetooth"
|
||||
# "/var/lib/nixos"
|
||||
# "/var/lib/systemd/coredump"
|
||||
# "/etc/NetworkManager/system-connections"
|
||||
# ];
|
||||
# files = [ "/etc/machine-id" ];
|
||||
# };
|
||||
|
||||
boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||
mkdir /btrfs_tmp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue