| I am very new to nixos, nixos wsl, and also to this channel. I hope that it's okay to post here to ask for your advice. I added this snippet to my /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
emacs
];
(I put it under the experimental features flakes bit)
When I ran nixos-rebuild switch afterwards I get this error message:
building '/nix/store/51a2g3iffr4cv3wzh1k9g69231ldv8gj-etc.drv'...
building '/nix/store/p4c000pm7qzlmn2a72gnxfrkdvccdlbz-nixos-system-nixos-22.05.20220812.5c211b4.drv'...
error: creating symlink from '/nix/var/nix/profiles/system-2-link.tmp-6530-1022011929' to '/nix/store/wpirs5md50yzp3qws0chzpqr5s3jzfaf-nixos-system-nixos-22.05.20220812.5c211b4': Permission denied
then I try sudo nixos-rebuild switch and still get an error.
reloading user units for nixos...
setting up tmpfiles
fchmod() of /tmp/.X11-unix failed: Read-only file system
reloading the following units: dbus.service
Any pointers to what might be best next steps or things to check would be greatly appreciated!
|