vm: fix a few nitpicks
This commit is contained in:
parent
5d0e390994
commit
afae3843c9
@ -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;
|
||||||
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user