Proxmox Virtual Environment: Difference between revisions
add proxmox-nixos |
enable syntax highlighting |
||
Line 102: | Line 102: | ||
The template built above without any options does not come with <code>/etc/nixos/configuration.nix</code>. A minimal working example is presented below. Be sure to run <code>nix-channel --update</code>, reboot the container running before <code>nixos-rebuild switch</code>. | The template built above without any options does not come with <code>/etc/nixos/configuration.nix</code>. A minimal working example is presented below. Be sure to run <code>nix-channel --update</code>, reboot the container running before <code>nixos-rebuild switch</code>. | ||
< | <syntaxHighlight lang=nix> | ||
{ pkgs, modulesPath, ... }: | { pkgs, modulesPath, ... }: | ||
Line 114: | Line 114: | ||
]; | ]; | ||
} | } | ||
</ | </syntaxHighlight> | ||
=== LXC Console === | === LXC Console === |