I started to consistently use NixOS
and then plasma5+i3-xsession
.
In the last few weeks it froze three times, forcing to hard reboot each time.
Not sure it'd happen only with plasma5+i3-xsession
,
it just never happened with kde/plasma
and with stand-alone i3
session.
Note: I added the unstable
channel for a few programs, but the freezing already happened before it.
I managed to fix(?) several error: getting attributes of path
:
$ sudo nixos-rebuild dry-activate
error: getting attributes of path '/nix/store/4cg982d9hfyn7hq9s1jn9b6gq9xnlb7n-plasma5+i3-xsession': No such file or directory
$ sudo nix-store --option binary-caches '' --repair-path /nix/store/4cg982d9hfyn7hq9s1jn9b6gq9xnlb7n-plasma5+i3-xsession --debug
$ sudo nixos-rebuild dry-activate
error: getting attributes of path '/nix/store/g411vbz0b31xxmzyw1iw0hmplypblval-desktops': No such file or directory
$ sudo nix-store --option binary-caches '' --repair-path /nix/store/g411vbz0b31xxmzyw1iw0hmplypblval-desktops --debug
$ sudo nixos-rebuild dry-activate
error: getting attributes of path '/nix/store/q1i4prv2923xdgvpdddjvff56ai1ng9r-pam-environment': No such file or directory
$ sudo nix-store --option binary-caches '' --repair-path /nix/store/q1i4prv2923xdgvpdddjvff56ai1ng9r-pam-environment --debug
$ sudo nixos-rebuild dry-activate
error: getting attributes of path '/nix/store/64ah0285d0wjcn4xib9294vad4gszm8n-zathura-with-plugins-0.4.7': No such file or directory
$ sudo nix-store --option binary-caches '' --repair-path /nix/store/64ah0285d0wjcn4xib9294vad4gszm8n-zathura-with-plugins-0.4.7 --debug
$ sudo nixos-rebuild dry-activate
// seems okay, but...
Probably this was not the right way and something is broken now. When I switch the configuration:
-
it probably fails completely (as I find only one new generation in boot menu, not several)
-
it spits me to a tty (dry-activate is the only thing that does not do it)
-
if I reboot with the last generation, I only get a tty
-
I can "normally" boot in a previous generation
-
and I am stuck in this broken loop
Thanks for taking me through the process I am about to follow ... I appreciated the gist! Thanks!