mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-11-04 18:07:34 +03:00
removing some cruft
This commit is contained in:
parent
1f4ca1ba1a
commit
8df82582c0
1 changed files with 1 additions and 19 deletions
20
nixos-infect
20
nixos-infect
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue