Comments (8)
Yeah, this is an error from impermanence, it's kinda of a pain they don't tell which mountpoint is conflicted haha.
Okay hm you can try commenting out every home.persistence
block (or set persistent = false
on your flake), check if it works, and then uncomment half of then and so on, until you know what is conflicting.
from nix-config.
Hey, that was a partial success. home-manager is working with persitance completly disabled. As soon as I enable it (wether or not something else is commented out or not) I get the described error.
Thank you so far. My system is usable now :)
from nix-config.
Thank you for your kind words! I'm really glad I could help out fellow nixers with my configs :D
Hmm, maybe you might have some kind of issue with the new nix profile
? home-manager isn't very compatible with it.
I think you can switch back to nix-env
by using rm /nix/var/nix/profiles/per-user/$USER/profile
.
Let me know if it works!
from nix-config.
Thank you for the fast reply.
Removing of the per-user-profile had the effect, that the home-manager-configuration was build completely (my hopes where getting up). But after completion there is still nothing to be found with home-manager packages
. I would really like to use home-manger especially for sway and the cli-config.
If it helps, my configuration is located at nix-config. Feel free to comment on my humble copy of your configuration (at the time I am using Gnome in the host-config as I have to get some things working).
Best Regards
Lutz
from nix-config.
Hey!
I'm hmm... Kinda out of ideas here. You're running something like (of course, with your own user and host) home-manager switch --flake .#misterio@atlas
?
You can omit the URI fragment (part after #
) if the user@host combination you're switching to is your current user and host (you can verify this with echo $USER@$(hostname)
.
Additionally (only if you already meet the previous requirement), you can omit the path (part before #
) if your flake repository is located at (or symlinked to) ~/.config/nixpkgs
.
Maybe try nix build .#[email protected]
, followed by ./result/activate
.
from nix-config.
Thank you for your patience. The home-manager switch -b backup --flake .#lgo@flores
was build as expected (I have to use -b backup
because of the existing firefox-profile. After the build I got:
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating unmountPersistentStoragePaths
Activating createAndMountPersistentStoragePaths
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
The same goes for the nix build
-approach.
from nix-config.
Glad you got it working :)
Impermanence sure is a tough nut to crack. Enabling one at a time should help!
from nix-config.
Thank you for your patience. The
home-manager switch -b backup --flake .#lgo@flores
was build as expected (I have to use-b backup
because of the existing firefox-profile. After the build I got:Starting Home Manager activation Activating checkFilesChanged Activating checkLinkTargets Activating unmountPersistentStoragePaths Activating createAndMountPersistentStoragePaths fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option
The same goes for the
nix build
-approach.
Indeed, it's a bit annoying, there is no debugging option in the home-manager mode.
I think that during the home-manager switch phase, if an application writes to one of the impermanence mount folders, that impermanence (fuse) cannot mount the whole impermanence.
It's a shame, because the idea was good, but too restrictive, I deactivated it
from nix-config.
Related Issues (20)
- Ci/Cd? HOT 1
- SOPS and fresh installation HOT 12
- libsForQt5.qtstyleplugins messes up QT apps. HOT 1
- Do you persist `/etc/nixos`? HOT 2
- Question: How to deploy on Raspberry Pi 4 HOT 2
- Home Manager environment not activating under an impermanence setup HOT 1
- Advice for encrypt secrets that can't be encrypted with sops-nix because they are needed during runtime HOT 3
- QUESTION: How did you fix the problem of wofi on waybar with systemd integration setup? HOT 2
- Firefox add-ons issue HOT 2
- error: The option `home-manager.users.eyduh.fontProfiles' does not exist. HOT 1
- Thanks for sharing, helped me setup sops, multiuser multi nodes :) HOT 2
- Invalid Hyprland configuration generated with hyprbars
- Redundant directory creation in ephemeral-btrfs.nix
- QUESTION: how to configure new Hydra project? HOT 5
- How does Hydra know the ip of the two worker desktops?
- Installation guide HOT 1
- Question on LSP in nvim
- QUESTION about nix-shell getting error: input 'hyprland-plugins/systems' follows a non-existent input 'hyprland-plugins/hyprland/systems'
- QUESTION: impermanence and standalone home-manager
- Question: Purpose of what seems to be a double import of home-manager configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-config.