summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-08-30 13:57:27 -0700
committerKleidi Bujari <mail@4kb.net>2026-08-30 13:58:00 -0700
commit55dd84d67da8fb6e70aed7b921d05b66748546e1 (patch)
tree4a5181fd8e7f4c05f7a3238b84c5ac458c37c8a4 /machines
parent2f064549f1be01b956c9193b5b55ff1c2973b9be (diff)
downloaddepot-55dd84d67da8fb6e70aed7b921d05b66748546e1.tar.gz
depot-55dd84d67da8fb6e70aed7b921d05b66748546e1.tar.bz2
depot-55dd84d67da8fb6e70aed7b921d05b66748546e1.zip
[nixos/disk] experiment with autosizing zfs partitions in initrd
Diffstat (limited to 'machines')
-rw-r--r--machines/feneri.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/machines/feneri.nix b/machines/feneri.nix
new file mode 100644
index 0000000..d731a36
--- /dev/null
+++ b/machines/feneri.nix
@@ -0,0 +1,19 @@
+{ flake, modulesPath, ... }:
+
+{
+ imports = [
+ flake.outputs.nixosModules.disk
+ (modulesPath + "/profiles/qemu-guest.nix")
+ ];
+
+ nixpkgs.hostPlatform.system = "x86_64-linux";
+
+ depot.disk = {
+ enable = true;
+ # device = "/dev/vda";
+ };
+
+ services.getty.autologinUser = "root";
+
+ networking.hostName = "feneri";
+}