fix(flatpak): add var persist
This commit is contained in:
parent
5d86e40272
commit
8bf10bb62a
|
@ -11,7 +11,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
users.home.persist.directories = [ ".local/share/flatpak" ];
|
users.home.persist.directories = [ ".local/share/flatpak" ".var" ];
|
||||||
environment.persistence."/nix/persist/fhs".directories = [ "/var/lib/flatpak" ];
|
environment.persistence."/nix/persist/fhs".directories = [ "/var/lib/flatpak" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue