mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
31 lines
834 B
Nix
31 lines
834 B
Nix
{ config, pkgs, nixos-hardware, home-manager, lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
home-manager.nixosModules.home-manager
|
|
../../user
|
|
../../modules/gpu/intel
|
|
../../modules/basic
|
|
../../modules/audio
|
|
../../modules/samba
|
|
../../modules/laptop
|
|
../../modules/docker
|
|
../../modules/flatpak
|
|
../../desktop/gnome
|
|
];
|
|
|
|
networking.hostName = "test-vm"; # Define your hostname.
|
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
|
|
system.stateVersion = "23.05"; # Did you read the comment?
|
|
users.users.alice.initialPassword = "test";
|
|
virtualisation.vmVariant = {
|
|
# following configuration is added only when building VM with build-vm
|
|
virtualisation = {
|
|
memorySize = 2048; # Use 2048MiB memory.
|
|
cores = 3;
|
|
};
|
|
};
|
|
}
|