vm: fix a few nitpicks

This commit is contained in:
Motiejus Jakštys 2024-02-04 22:28:36 +02:00
parent 5d0e390994
commit afae3843c9
2 changed files with 4 additions and 3 deletions

View File

@ -321,7 +321,6 @@
pkgs.rage pkgs.rage
pkgs.age-plugin-yubikey pkgs.age-plugin-yubikey
pkgs.deploy-rs.deploy-rs pkgs.deploy-rs.deploy-rs
agenix.packages.${system}.agenix agenix.packages.${system}.agenix
]; ];
inherit (self.checks.${system}.pre-commit-check) shellHook; inherit (self.checks.${system}.pre-commit-check) shellHook;

View File

@ -2,6 +2,7 @@
self, self,
lib, lib,
pkgs, pkgs,
myData,
config, config,
modulesPath, modulesPath,
... ...
@ -74,6 +75,7 @@
isNormalUser = true; isNormalUser = true;
extraGroups = ["wheel" "video"]; extraGroups = ["wheel" "video"];
initialHashedPassword = ""; initialHashedPassword = "";
openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus];
}; };
root.initialHashedPassword = ""; root.initialHashedPassword = "";
}; };
@ -90,14 +92,14 @@
networking = { networking = {
hostName = "vm"; hostName = "vm";
domain = "example.org"; domain = "jakstys.lt";
firewall.allowedTCPPorts = [22]; firewall.allowedTCPPorts = [22];
}; };
nix = { nix = {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
trusted-users = vm trusted-users = nixos
''; '';
}; };
} }