summaryrefslogtreecommitdiff
path: root/machines/vm
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2025-04-15 04:03:53 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2025-04-15 04:03:53 -0600
commit82031d248071ba8597cfbc7f97dc75f7a130f27e (patch)
tree56f7c3c4e30b103a152d50adcaba7d9aa66c8636 /machines/vm
parent5014376bd53cdb7041d361659988141ab6a65228 (diff)
one step closer to declarative vms
Diffstat (limited to 'machines/vm')
-rw-r--r--machines/vm/foolcreekwireless/default.nix16
1 files changed, 12 insertions, 4 deletions
diff --git a/machines/vm/foolcreekwireless/default.nix b/machines/vm/foolcreekwireless/default.nix
index 3cd4a91..a2adcf1 100644
--- a/machines/vm/foolcreekwireless/default.nix
+++ b/machines/vm/foolcreekwireless/default.nix
@@ -1,4 +1,8 @@
-{ config, pkgs, ... }:{
+{ config, pkgs, ... }:
+# let
+# language ;
+# in
+{
imports = [
# ./hardware-configuration.nix
@@ -13,15 +17,19 @@
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;
+ cores = 1;
graphics = false;
};
};
- networking.firewall.allowedTCPPorts = [ 22 2200 ];
+ services.wordpress.sites."localhost" = {
+ # languages = [ pkgs.wordpressPackages.languages. ]
+
+ };
+
+ networking.firewall.allowedTCPPorts = [ 22 ];
environment.systemPackages = with pkgs; [
cowsay