summaryrefslogtreecommitdiff
path: root/hosts/test_vm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/test_vm/default.nix')
-rw-r--r--hosts/test_vm/default.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/hosts/test_vm/default.nix b/hosts/test_vm/default.nix
index 06998c6..a627939 100644
--- a/hosts/test_vm/default.nix
+++ b/hosts/test_vm/default.nix
@@ -1,16 +1,21 @@
-{pkgs, lib, inputs,...}: {
- boot.loader.systemd-boot.enable = true;
+{
+ pkgs,
+ lib,
+ inputs,
+ ...
+}:
+{
+ boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
- imports = ["${inputs.nixpkgs}/nixos/modules/virtualisation/libvirtd.nix"];
+ imports = [ "${inputs.nixpkgs}/nixos/modules/virtualisation/libvirtd.nix" ];
networking.hostName = "cookie_vm"; # Define your hostname.
- networking.networkmanager.enable = true;
+ networking.networkmanager.enable = true;
programs.nix-ld.enable = true;
-
- addons.desktop.hyprland.enable = false;
- addons.desktop.xfce.enable = true;
- addons.virtualisation.guest = true;
+ addons.desktop.hyprland.enable = false;
+ addons.desktop.xfce.enable = true;
+ addons.virtualisation.guest = true;
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm
virtualisation = {