summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-06-20 10:13:36 +0200
committerMike Vink <mike@pionative.com>2024-06-20 10:13:36 +0200
commit4037e2da7b0a10e087ba00f3c09ebf24e65c4953 (patch)
tree60ee67f68760ffbd4b8bddc30b4db50c5689fdb1 /machines
parent0aaaf2021709000f858bde126fcff19a67227113 (diff)
use vmware fusion to have a vm with nixos
Diffstat (limited to 'machines')
-rw-r--r--machines/vm-aarch64.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/machines/vm-aarch64.nix b/machines/vm-aarch64.nix
index ced1b86..9832eb2 100644
--- a/machines/vm-aarch64.nix
+++ b/machines/vm-aarch64.nix
@@ -1,6 +1,9 @@
# https://github.com/mitchellh/nixos-config/blob/main/machines/vm-aarch64-prl.nix
{ config, pkgs, lib, ... }: {
system.stateVersion = "24.05";
+
+ sops.age.keyFile = "${config.hm.xdg.configHome}/sops/age/keys.txt";
+
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = true;
services.openssh.settings.PermitRootLogin = "yes";