From 0d0788cd4ee378fba19e47a2c5d5527c196b65e0 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 17 Jul 2026 14:34:18 +0200 Subject: Initial commit --- hosts/eurovm/default.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 hosts/eurovm/default.nix (limited to 'hosts/eurovm/default.nix') diff --git a/hosts/eurovm/default.nix b/hosts/eurovm/default.nix new file mode 100644 index 0000000..6c92b67 --- /dev/null +++ b/hosts/eurovm/default.nix @@ -0,0 +1,32 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./hardware.nix + ./disko.nix + ../../modules/common.nix + ../../modules/sops.nix + ../../modules/caddy.nix + ../../modules/adguard.nix + ../../modules/miniflux.nix + ../../modules/actual.nix + ../../modules/cgit.nix + ]; + + networking.hostName = "eurovm"; + + # Admin user - authorized SSH keys for both Einstein and Galileo devices + users.users.admin = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAwAgL0o4NVonSG07Xu4Eai84ns4AjoZj2V7dGC9nXit karanjayachandra@Einstein.local" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH+qnLTnorv+I2rSSfGjNiCuX/W5AxoNgAdu+cTOyKzW Galileo" + ]; + }; + + # Allow admin to use sudo + security.sudo.wheelNeedsPassword = false; + + system.stateVersion = "24.11"; +} -- cgit v1.3.1