vm/default.nix: added virtual machine configuration for testing

This commit is contained in:
Andrew Bryant 2025-08-14 17:32:19 -04:00
parent d7b203ad6c
commit 29c012a492

31
vm/default.nix Normal file
View File

@ -0,0 +1,31 @@
{ modulesPath, pkgs, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
../nixos-module/invoiceninja.nix
];
system.stateVersion = "24.11";
nixpkgs.config.allowUnfree = true;
users.users.test = {
isNormalUser = true;
extraGroups = [ "wheel" ];
initialPassword = "test";
};
environment.systemPackages = with pkgs; [
invoiceninja-desktop
];
services.xserver.desktopManager.lxqt.enable = true;
programs.chromium.enable = true;
networking.firewall.enable = false;
services.resolved.enable = true;
}