summaryrefslogtreecommitdiff
path: root/machines/vm-aarch64.nix
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-06-25 11:33:40 +0200
committerMike Vink <mike@pionative.com>2024-06-25 11:33:40 +0200
commitc7cb36d521a8d2b9a2f87cc02ed5f8ba9df39656 (patch)
treeb132f7b2d31ec5c8ddb71b0a9bd91fa78ce32eed /machines/vm-aarch64.nix
parentbb0cb5b43f4c709bde7d4ea1c5a090a071b77d54 (diff)
first version with arm vm
Diffstat (limited to 'machines/vm-aarch64.nix')
-rw-r--r--machines/vm-aarch64.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/machines/vm-aarch64.nix b/machines/vm-aarch64.nix
index 9832eb2..768e669 100644
--- a/machines/vm-aarch64.nix
+++ b/machines/vm-aarch64.nix
@@ -1,8 +1,20 @@
# https://github.com/mitchellh/nixos-config/blob/main/machines/vm-aarch64-prl.nix
-{ config, pkgs, lib, ... }: {
+{ self, config, pkgs, lib, ... }: {
+ imports =
+ [ (self + "/profiles/vmware-guest.nix")
+ ];
system.stateVersion = "24.05";
+ virtualisation.vmware.guest.enable = true;
sops.age.keyFile = "${config.hm.xdg.configHome}/sops/age/keys.txt";
+ users.users.${lib.ivi.username} = {
+ shell = pkgs.zsh;
+ };
+ environment.shells = [pkgs.bashInteractive pkgs.zsh];
+ environment.pathsToLink = [ "/share/zsh" ];
+ programs.zsh.enable = true;
+ services.xserver.displayManager.sessionCommands = ''
+ '';
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = true;