vm/default.nix: added virtual machine configuration for testing
This commit is contained in:
parent
d7b203ad6c
commit
29c012a492
31
vm/default.nix
Normal file
31
vm/default.nix
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user