From 5f19ec51f8e0305ce08ff7a1c55c75e84979a3d2 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Tue, 25 Jun 2024 16:49:32 +0200 Subject: init --- machines/vm-aarch64.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'machines') 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; -- cgit v1.2.3