-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I got below error when switching (worked before):
2025-09-11T16:09:16Z INFO system_manager::register] Built system-manager profile /nix/store/qppk2byxpp45b96c95srn4y2761kyzc4-system-manager
[2025-09-11T16:09:16Z INFO system_manager::register] Creating new generation from /nix/store/qppk2byxpp45b96c95srn4y2761kyzc4-system-manager
[2025-09-11T16:09:16Z INFO system_manager::register] Registering GC root...
[2025-09-11T16:09:16Z INFO system_manager] Creating symlink: /nix/var/nix/gcroots/system-manager-current -> /nix/store/qppk2byxpp45b96c95srn4y2761kyzc4-system-manager
[2025-09-11T16:09:16Z INFO system_manager::register] Done
[2025-09-11T16:09:16Z INFO system_manager::activate] Activating system-manager profile: /nix/store/qppk2byxpp45b96c95srn4y2761kyzc4-system-manager
[2025-09-11T16:09:16Z INFO system_manager::activate] Running pre-activation assertions...
Evaluating pre-activation assertion osVersion...
All pre-activation assertions succeeded.
[2025-09-11T16:09:16Z INFO system_manager::activate] Reading state info from /var/lib/system-manager/state/system-manager-state.json
[2025-09-11T16:09:16Z INFO system_manager::activate] Activating etc files...
[2025-09-11T16:09:16Z INFO system_manager::activate::etc_files] Reading etc file definitions...
[2025-09-11T16:09:16Z INFO system_manager::activate::etc_files] Creating /etc entries in /etc
[2025-09-11T16:09:16Z INFO system_manager] Creating symlink: /etc/.system-manager-static -> /nix/store/zrgiwznvnzsd7cnk1v337bxii5kj3lx5-etc-static-env
[2025-09-11T16:09:16Z ERROR system_manager::activate::etc_files] Error while trying to link directory /etc/.system-manager-static/nix: Unmanaged path already exists in files
ystem, please remove it and run system-manager again: /etc/nix/nix.conf
To Reproduce
Steps to reproduce the behavior:
- Install nix with determine
- Edit /etc/nix/nix.conf
- Run system-manager switch
Expected behavior
No error
System information
❱ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
❱ nix --version
nix (Nix) 2.31.1
❱ sudo $(which system-manager) --version
system_manager 0.1.0
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working