mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
home-manager: use hostname
from Nixpkgs
Before the home-manager tool got hostname from the system, which was not declarative or reproducible.
This commit is contained in:
parent
7e81e7ae2b
commit
2af0d07678
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused
|
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused
|
||||||
, less, ncurses
|
, less, ncurses, unixtools
|
||||||
# used for pkgs.path for nixos-option
|
# used for pkgs.path for nixos-option
|
||||||
, pkgs
|
, pkgs
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ in runCommand "home-manager" {
|
||||||
less
|
less
|
||||||
ncurses
|
ncurses
|
||||||
nixos-option
|
nixos-option
|
||||||
|
unixtools.hostname
|
||||||
]
|
]
|
||||||
}" \
|
}" \
|
||||||
--subst-var-by HOME_MANAGER_LIB '${../lib/bash/home-manager.sh}' \
|
--subst-var-by HOME_MANAGER_LIB '${../lib/bash/home-manager.sh}' \
|
||||||
|
|
Loading…
Reference in a new issue