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:
|
check:
|
||||||
nix flake check --show-trace
|
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:
|
fix-ulimit:
|
||||||
ulimit -n 999999999
|
ulimit -n 999999999
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,9 @@ in {
|
||||||
inherit (user) username homeDirectory;
|
inherit (user) username homeDirectory;
|
||||||
file = import ./config args;
|
file = import ./config args;
|
||||||
sessionVariables = import ./variable 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; };
|
xdg = import ./xdg { inherit (user) homeDirectory; };
|
||||||
programs = import ./program args;
|
programs = import ./program args;
|
||||||
|
|
|
@ -39,8 +39,7 @@ in {
|
||||||
echo "Verification failed."
|
echo "Verification failed."
|
||||||
exit 1
|
exit 1
|
||||||
};
|
};
|
||||||
make switch || true
|
make switch
|
||||||
make fix-hm || true
|
|
||||||
'';
|
'';
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
|
Loading…
Reference in a new issue