summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/test_vm/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/test_vm/default.nix b/hosts/test_vm/default.nix
index a627939..7d84448 100644
--- a/hosts/test_vm/default.nix
+++ b/hosts/test_vm/default.nix
@@ -7,7 +7,6 @@
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
- imports = [ "${inputs.nixpkgs}/nixos/modules/virtualisation/libvirtd.nix" ];
networking.hostName = "cookie_vm"; # Define your hostname.
networking.networkmanager.enable = true;
@@ -24,4 +23,10 @@
graphics = true;
};
};
+
+ fileSystems."/" = {
+ device = "none";
+ fsType = "tmpfs";
+ options = [ "defaults" "size=2G" "mode=755" ];
+ };
}