HomeManager : Fix ssh in path bug.
This commit is contained in:
parent
6891bcc54f
commit
2528ba11f9
8
Makefile
8
Makefile
|
@ -22,14 +22,6 @@ boot-no-nixconf: fix-ulimit
|
|||
check:
|
||||
nix flake check --show-trace
|
||||
|
||||
# HACK: https://github.com/nix-community/home-manager/issues/5589
|
||||
fix-hm:
|
||||
mv /etc/nix/nix.conf /etc/nix/nix.conf_; \
|
||||
systemctl restart home-manager-root.service; \
|
||||
systemctl restart home-manager-voronind.service; \
|
||||
systemctl restart home-manager-dasha.service; \
|
||||
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
||||
|
||||
fix-ulimit:
|
||||
ulimit -n 999999999
|
||||
|
||||
|
|
|
@ -28,6 +28,9 @@ in {
|
|||
inherit (user) username homeDirectory;
|
||||
file = import ./config args;
|
||||
sessionVariables = import ./variable args;
|
||||
|
||||
# ISSUE: https://github.com/nix-community/home-manager/issues/5589
|
||||
extraActivationPath = with pkgs; [ openssh ];
|
||||
};
|
||||
xdg = import ./xdg { inherit (user) homeDirectory; };
|
||||
programs = import ./program args;
|
||||
|
|
|
@ -39,8 +39,7 @@ in {
|
|||
echo "Verification failed."
|
||||
exit 1
|
||||
};
|
||||
make switch || true
|
||||
make fix-hm || true
|
||||
make switch
|
||||
'';
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
|
Loading…
Reference in a new issue