Closed ahaxu closed 10 months ago
Can you send the error message without —show-trace
?
Hi @notusknot
Can you send the error message without —show-trace?
here is the error message without --show-trace
sudo nixos-rebuild switch --flake .#lk-station
warning: Git tree '/home/lk/.config/nixos' is dirty
warning: input 'nur' has an override for a non-existent input 'nixpkgs'
error: getting status of '/nix/store/hqgj1m02nf32c2n1rqm6rhq6ci315m1w-source/hosts/lk-station': No such file or directory
(use '--show-trace' to show detailed location information)
error: getting status of '/nix/store/hqgj1m02nf32c2n1rqm6rhq6ci315m1w-source/hosts/lk-station': No such file or directory
I solved this by replacing the hostname in ./modules/configuration.nix with my new host name
it did not work for me, which line exactly did you change ?
inside the .config/nixos directory I ran git add .
inside the .config/nixos directory I ran git add .
thank you @jedwoolley , this resolved my issue.
i got this error msg when run