adding gui group to hosts, fixing sshopts

This commit is contained in:
kat witch 2021-03-17 02:48:21 +00:00
parent 29e977ad00
commit d47650d67a
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 4 additions and 3 deletions

View file

@ -59,7 +59,7 @@ in {
#!${pkgs.runtimeShell}
set -xeo pipefail
export PATH=${with pkgs; lib.makeBinPath [ coreutils openssh nix ]}
export NIX_SSHOPTS="$NIX_SSHOPTS -p${toString cfg.ssh.port}"
export NIX_SSHOPTS="-p${toString cfg.ssh.port}"
nix build ${
builtins.unsafeDiscardStringContext config.system.build.toplevel.drvPath
} -o result-${config.networking.hostName}