1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

home-manager: use hostname from Nixpkgs

Before the home-manager tool got hostname from the system, which was
not declarative or reproducible.

(cherry picked from commit 2af0d07678)
This commit is contained in:
Robert Helgesson 2022-12-05 23:43:57 +01:00
parent 0e8125916b
commit d977182704
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1,5 +1,5 @@
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused
, less, ncurses
, less, ncurses, unixtools
# used for pkgs.path for nixos-option
, pkgs
@ -39,6 +39,7 @@ in runCommand "home-manager" {
less
ncurses
nixos-option
unixtools.hostname
]
}" \
--subst-var-by HOME_MANAGER_LIB '${../lib/bash/home-manager.sh}' \