{ config, pkgs, myUser, release, disko, mainDisk, ... }: { networking.hostName = "palantir"; imports = [ disko.nixosModules.disko ]; disko.devices = import ../disko/simple-efi-gpt.nix { inherit mainDisk; }; boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; time.timeZone = "Europe/Vienna"; users.users.${myUser} = { isNormalUser = true; extraGroups = [ "wheel" "video" "render" "input" ]; shell = pkgs.zsh; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship" ]; }; users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship" ]; networking.useDHCP = true; services.openssh = { enable = true; settings.PasswordAuthentication = false; }; system.stateVersion = release; }