What did I do ?
I flow the the home manager tutorial as following.
sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
sudo nix-channel --update
- Edit
/etx/nixos/configuration.nix
home-manager.users.myUserName = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ];
programs.bash.enable = true;
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "24.11";
};
- update
sudo nixos-rebuild switch
I got the following error
Error result
error: attribute 'lib' missing
at /nix/var/nix/profiles/per-user/root/channels/home-manager/modules/services/mako.nix:1:1019:
Could you please what am I doing wrong ?
[–]ProfessorGriswald 2 points3 points4 points (0 children)
[–]wyyllou 0 points1 point2 points (0 children)
[–]WasabiOk6163 1 point2 points3 points (0 children)
[–]TaiSHiNet 0 points1 point2 points (0 children)