diff options
Diffstat (limited to 'machines/vm/foolcreekwireless/default.nix')
| -rw-r--r-- | machines/vm/foolcreekwireless/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/machines/vm/foolcreekwireless/default.nix b/machines/vm/foolcreekwireless/default.nix new file mode 100644 index 0000000..3cd4a91 --- /dev/null +++ b/machines/vm/foolcreekwireless/default.nix @@ -0,0 +1,33 @@ +{ config, pkgs, ... }:{ + imports = [ + # ./hardware-configuration.nix + + ../../../modules/nixos/nix-common.nix + ../../../modules/nixos/environment.nix + ../../../modules/nixos/system-packages.nix + + ../../../modules/users/defin.nix + ../../../modules/users/root.nix + ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + virtualisation.vmVariant = { + # following configuration is added only when building VM with build-vm + virtualisation = { + memorySize = 2048; # Use 2048 MiB memory. + cores = 3; + graphics = false; + }; + }; + + networking.firewall.allowedTCPPorts = [ 22 2200 ]; + + environment.systemPackages = with pkgs; [ + cowsay + lolcat + ]; + + nixpkgs.hostPlatform = "x86_64-linux"; + system.stateVersion = "24.11"; +} |
