matthewcroughan
971bfe5d1f
Add vmTest for Nixinate
...
This initializes ./test/default.nix which is referred to by the
flake.nix under the `checks` attribute. This default.nix should point to
all future tests, where they can be looked up and ran like:
nix build .#checks.x86_64-linux.vmTest
The test included is a simple NixOS VM Test. It uses Nixinate to deploy
a machine with `services.nginx.enable = true` set, and tests whether
nginx.service is started and reachable after deployment.
2022-04-19 05:43:22 +01:00
matthewcroughan
fcae9a11d0
Provide pkgs in forAllSystems
...
This is stolen from DavHau's dream2nix flake which reworks forAllSystems to provide two arguments, the pkgs and the system.
2022-03-31 17:40:00 +01:00
matthewcroughan
f042b0170e
Add .gitignore
2022-03-31 17:36:45 +01:00
MatthewCroughan
f9025fd06b
Merge pull request #15 from MatthewCroughan/mc/fix-dry-run
...
Fix dry-runs
2022-03-24 18:48:39 +00:00
matthewcroughan
0d210c1d17
Fix dry-runs
...
Co-authored-by: Mason Mackaman <masondeanm@aol.com>
2022-03-24 18:46:04 +00:00
MatthewCroughan
e961e078cd
Merge pull request #14 from MatthewCroughan/mc/cleanup
...
Cleanup Examples
2022-03-23 23:55:24 +00:00
matthewcroughan
56878e1a42
Fix examples
2022-03-23 23:53:43 +00:00
matthewcroughan
abc1895492
Remove examples from flake.nix inputs
...
Subflakes are not really a stable part of the flakes api, so they shouldn't be included in the flake.nix.
2022-03-23 23:18:23 +00:00
matthewcroughan
886c6a2b3b
fix README
2022-03-06 17:18:07 +00:00
MatthewCroughan
f13b5a7dcc
Merge pull request #11 from MatthewCroughan/mc/use-nix-copy
...
Use nix copy instead of rsync
2022-03-03 19:41:14 +00:00
matthewcroughan
83eb225f9a
Use nix copy instead of rsync
2022-02-28 01:15:36 +00:00
MatthewCroughan
6244aa6deb
Merge pull request #7 from pinktrink/master
...
Add dry runs.
2022-02-17 02:38:08 +00:00
Chloe Kever
2a107a1b7b
Add dry runs.
...
Co-authored-by: Mason Mackaman <masondeanm@aol.com>
2022-02-16 14:56:33 -08:00
Chloe Kever
48f1c6d1df
root
as the default user.
2022-02-15 18:39:10 -08:00
Chloe Kever
d9e1a0153f
Define the script within nix, not bash.
2022-02-15 18:37:50 -08:00
Chloe Kever
6766412769
Remove trailing whitespace.
2022-02-15 18:19:48 -08:00
MatthewCroughan
9299d595e8
Merge pull request #6 from MatthewCroughan/mc/use-nixos-rebuild
...
Use nixos-rebuild instead of switch-to-configuration script
2022-02-07 01:19:42 +00:00
matthewcroughan
07a62f362b
Use nixos-unstable
...
This is required to make nixos-rebuild work with flakes.
2022-02-07 00:59:29 +00:00
matthewcroughan
b7d47ddd37
Use nixos-rebuild switch instead of switch-to-configuration
...
This fixes https://github.com/MatthewCroughan/nixinate/issues/5
2022-02-07 00:58:06 +00:00
MatthewCroughan
32953fe5f0
Merge pull request #4 from nixinator/nixinator-add-buildOn
...
added buildOn to example
2022-01-31 20:11:49 +00:00
nixinator
2c37b83ad0
added buildOn to example
2022-01-31 19:56:47 +00:00
matthewcroughan
8f960401c4
flake: add local building
...
This adds the ability to build a system closure locally and push it to
the remote using `nix copy`
2022-01-26 22:58:48 +00:00
matthewcroughan
6003461f0e
add examples
2022-01-26 20:17:20 +00:00
matthewcroughan
d4de691afb
init
2022-01-03 10:50:50 +00:00