diff options
| author | Mike Vink <ivi@vinkies.net> | 2024-06-25 16:49:32 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2024-06-25 16:51:29 +0200 |
| commit | 5f19ec51f8e0305ce08ff7a1c55c75e84979a3d2 (patch) | |
| tree | 143c7696fde381a8e7522f15c47b15bc7dc2e505 /machines | |
| parent | c7cb36d521a8d2b9a2f87cc02ed5f8ba9df39656 (diff) | |
init
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/vm-aarch64.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/machines/vm-aarch64.nix b/machines/vm-aarch64.nix index 768e669..cc63194 100644 --- a/machines/vm-aarch64.nix +++ b/machines/vm-aarch64.nix @@ -5,7 +5,17 @@ ]; system.stateVersion = "24.05"; virtualisation.vmware.guest.enable = true; + networking.hostName = "vm-aarch64"; + + hm.xsession.initExtra = '' + ${pkgs.xorg.xset}/bin/xset r rate 230 30 + [ -z "$(lsusb | grep microdox)" ] && ${pkgs.xorg.setxkbmap}/bin/setxkbmap -option "ctrl:swapcaps" + ${pkgs.open-vm-tools}/bin/vmware-user-suid-wrapper + wal -R + dwm + ''; + services.pcscd.enable = true; sops.age.keyFile = "${config.hm.xdg.configHome}/sops/age/keys.txt"; users.users.${lib.ivi.username} = { shell = pkgs.zsh; @@ -13,8 +23,6 @@ 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; |
