diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
| commit | 892de67a9f64d0b0cdb023d830a019d8feec0a57 (patch) | |
| tree | 0c5fd0c60ef93bb5cdc5f83c8cade0c5dddb4899 /hosts/test_vm | |
| parent | f5b37610b3835ea26757ef36d554ec598d53100c (diff) | |
Nix fmt
Diffstat (limited to 'hosts/test_vm')
| -rw-r--r-- | hosts/test_vm/default.nix | 21 |
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 = { |
