feat: renaming in prep for them being isntalled

This commit is contained in:
silver 2023-01-15 19:22:12 +00:00
parent 6ef12f03de
commit f5453ac2b6
3 changed files with 7 additions and 4 deletions

37
machines/_base.nix Normal file
View file

@ -0,0 +1,37 @@
{ pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
];
# flakes are essensial
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "22.11";
services.openssh = {
enable = true;
permitRootLogin = "prohibit-password";
};
users.users.root = {
initialHashedPassword = "";
openssh.authorizedKeys.keys = [
# personal one
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINQHZQA1ovXw4DWDUD7ivh4eW0lnCsHVvSvBCrlAWN/b Hetzner NixOS Tester"
];
};
environment.systemPackages = [
# for flakes
pkgs.git
# useful tools
pkgs.ncdu_2
pkgs.htop
pkgs.nano
pkgs.nmap
];
}