lxc: image builder
This commit is contained in:
parent
727c289f8e
commit
a5d5f9f74e
7 changed files with 88 additions and 7 deletions
10
nixos/templates/proxmox-lxc.nix
Normal file
10
nixos/templates/proxmox-lxc.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, config, modulesPath, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
../../nixos/base.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bashInteractive
|
||||
];
|
||||
}
|
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue