summaryrefslogtreecommitdiff
path: root/machines/natest.nix
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-04-05 14:58:10 -0400
committerKleidi Bujari <mail@4kb.net>2025-04-05 14:58:10 -0400
commit179bf31d5edc90c826dacf0b06b149469d8d14fa (patch)
tree28a07fad01cce7627a2f332094e4a5261c8e5430 /machines/natest.nix
parentbf4d4b2a330c03373f75942b9b1723a67f03a709 (diff)
downloaddepot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.gz
depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.bz2
depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.zip
automate hosts gen and bump nixpkgs
Diffstat (limited to 'machines/natest.nix')
-rw-r--r--machines/natest.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/machines/natest.nix b/machines/natest.nix
new file mode 100644
index 0000000..1623bd3
--- /dev/null
+++ b/machines/natest.nix
@@ -0,0 +1,13 @@
+{ flake, modulesPath, perSystem, ... }: {
+ imports = [
+ flake.outputs.nixosModules.disk
+ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
+ (modulesPath + "/profiles/qemu-guest.nix")
+ ];
+
+ nixpkgs.hostPlatform = "x86_64-linux";
+ system.stateVersion = "24.11";
+
+ environment.systemPackages = [ perSystem.self.partitioner ];
+ virtualisation.diskSize = 16384;
+}