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.age-plugin-yubikey
pkgs.deploy-rs.deploy-rs
agenix.packages.${system}.agenix
];
inherit (self.checks.${system}.pre-commit-check) shellHook;

View File

@ -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
'';
};
}