summaryrefslogtreecommitdiffstats
path: root/tests/eval.nix
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 19:24:01 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 19:24:01 +0000
commit8d578a53d600153bc02f26cb3c80cf7bc9845ea6 (patch)
tree97801f59906f88ff419696de4d5afa5a4924d649 /tests/eval.nix
parentf1952eae0421a3c1fe19f93679443af3246afc08 (diff)
tests: drop -test prefix to match naming style used by NixOS tests
Diffstat (limited to 'tests/eval.nix')
-rw-r--r--tests/eval.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/eval.nix b/tests/eval.nix
new file mode 100644
index 0000000..e946b0b
--- /dev/null
+++ b/tests/eval.nix
@@ -0,0 +1,15 @@
+{
+ imports = [ <nixos-hardware-profile> ];
+
+ boot.loader.systemd-boot.enable = true;
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
+ fsType = "btrfs";
+ };
+
+ nixpkgs.config = {
+ allowBroken = true;
+ allowUnfree = true;
+ };
+}