lxc: image builder

This commit is contained in:
41666 2023-12-23 01:34:17 -05:00
parent 727c289f8e
commit a5d5f9f74e
7 changed files with 88 additions and 7 deletions

View file

@ -0,0 +1,10 @@
{ pkgs, config, modulesPath, ... }: {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
../../nixos/base.nix
];
environment.systemPackages = with pkgs; [
bashInteractive
];
}

View file

@ -9,6 +9,8 @@
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBs6/s+973H28jOrvN0zr1eayT+thrs61l1qV7uFhw8I''
];
};
users.users.root.openssh.authorizedKeys.keys = config.users.users.noe.openssh.authorizedKeys.keys;
environment.systemPackages = [ pkgs.nixos-rebuild ];
security.sudo.extraRules = [