aboutsummaryrefslogtreecommitdiff
path: root/hosts/eurovm/default.nix
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2026-07-17 14:34:18 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2026-07-17 14:34:18 +0200
commit0d0788cd4ee378fba19e47a2c5d5527c196b65e0 (patch)
tree0fbd0e2644e94e0227005947004541fd4ff4d53e /hosts/eurovm/default.nix
Initial commit
Diffstat (limited to 'hosts/eurovm/default.nix')
-rw-r--r--hosts/eurovm/default.nix32
1 files changed, 32 insertions, 0 deletions
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";
+}