removing some cruft

This commit is contained in:
Eric Litak 2020-11-27 22:13:34 -08:00
parent 1f4ca1ba1a
commit 8df82582c0

View file

@ -46,12 +46,7 @@ EOF
} }
EOF EOF
if [[ -n "$doNetConf" ]] [[ -n "$doNetConf" ]] && makeNetworkingConf
then
makeNetworkingConf
else
true
fi
} }
makeNetworkingConf() { makeNetworkingConf() {
@ -121,19 +116,6 @@ EOF
''; '';
} }
EOF EOF
#! /usr/bin/env bash
# NB put your semi-sensitive (not posted to github) configuration in a separate
# file and include it via this customConfig() function. e.g.:
# customConfig() {
# cat > /etc/nixos/custom.nix << EOF
# { config, lib, pkgs, ... }: {
# }
# EOF
# }
#
# then you can add the files in configuration.nix's imports above and run something like:
# cat customConfig nixos-infect | root@targethost bash
if [[ "$(type -t customConfig)" == "function" ]]; then customConfig; fi
} }
makeSwap() { makeSwap() {