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
|
|
@ -36,16 +36,16 @@ let
|
||||||
in with lib; {
|
in with lib; {
|
||||||
config = mkIf osConfig.mods.impermanence.enable {
|
config = mkIf osConfig.mods.impermanence.enable {
|
||||||
home.packages = [ fs-diff ];
|
home.packages = [ fs-diff ];
|
||||||
home.persistence."/persistent/home/muon" = {
|
# home.persistence."/persistent/home/muon" = {
|
||||||
directories = [
|
# directories = [
|
||||||
"documents"
|
# "documents"
|
||||||
"downloads"
|
# "downloads"
|
||||||
"src"
|
# "src"
|
||||||
".gnupg"
|
# ".gnupg"
|
||||||
".ssh"
|
# ".ssh"
|
||||||
".config/sops"
|
# ".config/sops"
|
||||||
".local/share/direnv"
|
# ".local/share/direnv"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,15 @@ with lib; {
|
||||||
options.mods.impermanence.enable = mkEnableOption "enables impermanence";
|
options.mods.impermanence.enable = mkEnableOption "enables impermanence";
|
||||||
|
|
||||||
config = mkIf config.mods.impermanence.enable {
|
config = mkIf config.mods.impermanence.enable {
|
||||||
environment.persistence."/persistent" = {
|
# environment.persistence."/persistent" = {
|
||||||
directories = [
|
# directories = [
|
||||||
"/var/lib/bluetooth"
|
# "/var/lib/bluetooth"
|
||||||
"/var/lib/nixos"
|
# "/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
# "/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
# "/etc/NetworkManager/system-connections"
|
||||||
];
|
# ];
|
||||||
files = [ "/etc/machine-id" ];
|
# files = [ "/etc/machine-id" ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
boot.initrd.postResumeCommands = lib.mkAfter ''
|
boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||||
mkdir /btrfs_tmp
|
mkdir /btrfs_tmp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue