From afae3843c9a58a2bc6c294e7c90d4dc9b4fa2994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 4 Feb 2024 22:28:36 +0200 Subject: [PATCH] vm: fix a few nitpicks --- flake.nix | 1 - hosts/vm/configuration.nix | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 69798f1..32836b4 100644 --- a/flake.nix +++ b/flake.nix @@ -321,7 +321,6 @@ pkgs.rage pkgs.age-plugin-yubikey pkgs.deploy-rs.deploy-rs - agenix.packages.${system}.agenix ]; inherit (self.checks.${system}.pre-commit-check) shellHook; diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index b2ce45a..9a94629 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -2,6 +2,7 @@ self, lib, pkgs, + myData, config, modulesPath, ... @@ -74,6 +75,7 @@ isNormalUser = true; extraGroups = ["wheel" "video"]; initialHashedPassword = ""; + openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus]; }; root.initialHashedPassword = ""; }; @@ -90,14 +92,14 @@ networking = { hostName = "vm"; - domain = "example.org"; + domain = "jakstys.lt"; firewall.allowedTCPPorts = [22]; }; nix = { extraOptions = '' experimental-features = nix-command flakes - trusted-users = vm + trusted-users = nixos ''; }; }