Add custom impermanence module

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-08-08 22:03:15 +03:00
parent 5e57d63a54
commit 22e0150a65
69 changed files with 777 additions and 494 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
hardware.bluetooth = {
enable = true;
@@ -8,5 +8,8 @@
};
};
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
environment.persistence."/persist"."/var/lib/bluetooth" = { };
systemd.services.bluetooth.after = [
config.environment.persistence."/persist"."/var/lib/bluetooth".mount
];
}