diff options
| author | Mike Vink <mike@pionative.com> | 2024-06-25 11:33:40 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-06-25 11:33:40 +0200 |
| commit | c7cb36d521a8d2b9a2f87cc02ed5f8ba9df39656 (patch) | |
| tree | b132f7b2d31ec5c8ddb71b0a9bd91fa78ce32eed /machines/vm-aarch64.nix | |
| parent | bb0cb5b43f4c709bde7d4ea1c5a090a071b77d54 (diff) | |
first version with arm vm
Diffstat (limited to 'machines/vm-aarch64.nix')
| -rw-r--r-- | machines/vm-aarch64.nix | 14 |
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; |
