commit | 6e29bf5d4172a3b1af52a99cc2d3ebb9ea43e2ee | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Mon Oct 31 00:35:48 2022 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Mon Oct 31 00:35:48 2022 +0000 |
tree | 3eae575878e74587e00fa73bb34095d42e651dc1 | |
parent | a2067c814196b3eda88fc03786af304874dba421 [diff] |
Persist bluetooth files
diff --git a/modules/bluetooth.nix b/modules/bluetooth.nix index db80e6f..c8432ea 100644 --- a/modules/bluetooth.nix +++ b/modules/bluetooth.nix
@@ -1 +1,6 @@ -{ config.hardware.bluetooth.enable = true; } +{ + config = { + hardware.bluetooth.enable = true; + environment.persistence."/nix/persist".directories = [ "/var/lib/bluetooth" ]; + }; +}