Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxomox-nixos config persistence using impermanence #80

Open
hatch01 opened this issue Nov 7, 2024 · 0 comments
Open

Proxomox-nixos config persistence using impermanence #80

hatch01 opened this issue Nov 7, 2024 · 0 comments

Comments

@hatch01
Copy link

hatch01 commented Nov 7, 2024

Hi,
I installed proxmox-nixos without troubles on my nixos.
However, I am using impermanence.
I added these directories to be persistent:

    environment.persistence."/persistent".directories = [
      "/var/lib/vz"
      "/var/lib/pve-cluster"
      "/var/lib/pve-firewall"
      "/var/lib/pve-manager"
      {
        directory = "/etc/pve";
        # user = "root";
        # group = "www-data";
      }
    ];

The problem is that /etc/pve is a directory controller by fuse where even the root user cannot delete everything's
I tried to add programs.fuse.userAllowOther = true; to my config as mentioned by the impermanence doc, but this seems not to be enough.
(it seems applied correctly /dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)

May it be possible to simply change the folder where proxmox saves its data?
Having this directory as a parameter would be pretty simple for impermanence user to move to their non formatted directory without fighting with fuse access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant