Skip to content

Instantly share code, notes, and snippets.

@pinpox
Created January 20, 2021 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinpox/6e1b6bf95f3b7a4014ed8a424f442b98 to your computer and use it in GitHub Desktop.
Save pinpox/6e1b6bf95f3b7a4014ed8a424f442b98 to your computer and use it in GitHub Desktop.
▸ sudo nixos-rebuild --flake ".#ahorn" switch
[sudo] password for pinpox:
warning: Git tree '/var/src/machine-config' is dirty
building the system configuration...
warning: Git tree '/var/src/machine-config' is dirty
updating GRUB 2 menu...
lsblk: /dev/mapper/no*[0-9]: not a block device
lsblk: /dev/mapper/block*[0-9]: not a block device
lsblk: /dev/mapper/devices*[0-9]: not a block device
lsblk: /dev/mapper/found*[0-9]: not a block device
activating the configuration...
setting up /etc...
reloading user units for pinpox...
setting up tmpfiles
warning: the following units failed: home-manager-pinpox.service
● home-manager-pinpox.service - Home Manager environment for pinpox
Loaded: loaded (/nix/store/jlc5gmkk8hfg4laka4dgazd8wqrk160w-unit-home-manager-pinpox.service/home-manager-pinpox.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-01-20 09:41:12 CET; 21ms ago
Process: 4007 ExecStart=/nix/store/7n944wvkpgazwq55q0ml5qyi20bviaqw-activate-pinpox (code=exited, status=1/FAILURE)
Main PID: 4007 (code=exited, status=1/FAILURE)
IP: 0B in, 0B out
CPU: 30ms
Jan 20 09:41:12 ahorn systemd[1]: Starting Home Manager environment for pinpox...
Jan 20 09:41:12 ahorn hm-activate-pinpox[4007]: Activating home-manager configuration for pinpox
Jan 20 09:41:12 ahorn hm-activate-pinpox[4007]: Starting home manager activation
Jan 20 09:41:12 ahorn hm-activate-pinpox[4015]: error: --- SysError --- nix-build
Jan 20 09:41:12 ahorn hm-activate-pinpox[4015]: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused
Jan 20 09:41:12 ahorn systemd[1]: home-manager-pinpox.service: Main process exited, code=exited, status=1/FAILURE
Jan 20 09:41:12 ahorn systemd[1]: home-manager-pinpox.service: Failed with result 'exit-code'.
Jan 20 09:41:12 ahorn systemd[1]: Failed to start Home Manager environment for pinpox.
warning: error(s) occurred while switching to the new configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment