diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | customized/fetch.sh | 2 | ||||
| -rw-r--r-- | ymir/factorio.nix | 2 |
3 files changed, 4 insertions, 1 deletions
| @@ -1,3 +1,4 @@ | |||
| 1 | configuration.nix | 1 | configuration.nix |
| 2 | config.nix | 2 | config.nix |
| 3 | **/\#*\# | 3 | **/\#*\# |
| 4 | factorio-credentials.nix \ No newline at end of file | ||
diff --git a/customized/fetch.sh b/customized/fetch.sh index 30d9c9fd..a470b942 100644 --- a/customized/fetch.sh +++ b/customized/fetch.sh | |||
| @@ -37,7 +37,7 @@ if grep -q 'Location: https://' headers; then | |||
| 37 | set +x | 37 | set +x |
| 38 | else | 38 | else |
| 39 | set +x | 39 | set +x |
| 40 | echo 'Login failed' | 40 | echo "Login failed (username: ‘$username’)" |
| 41 | echo 'Please set username and password with config.nix,' | 41 | echo 'Please set username and password with config.nix,' |
| 42 | echo 'or /etc/nix/nixpkgs-config.nix if on NixOS.' | 42 | echo 'or /etc/nix/nixpkgs-config.nix if on NixOS.' |
| 43 | echo | 43 | echo |
diff --git a/ymir/factorio.nix b/ymir/factorio.nix index 8fb6c44b..bc47be79 100644 --- a/ymir/factorio.nix +++ b/ymir/factorio.nix | |||
| @@ -65,6 +65,8 @@ let | |||
| 65 | }; | 65 | }; |
| 66 | }; | 66 | }; |
| 67 | in { | 67 | in { |
| 68 | imports = [ ./factorio-credentials.nix ]; | ||
| 69 | |||
| 68 | services.factorio = { | 70 | services.factorio = { |
| 69 | enable = true; | 71 | enable = true; |
| 70 | saveName = config.networking.hostName; | 72 | saveName = config.networking.hostName; |
