Try to add arion
This commit is contained in:
parent
157937a087
commit
83da288a5f
2 changed files with 12 additions and 1 deletions
|
|
@ -53,8 +53,18 @@ in {
|
|||
pkgs.util-linux
|
||||
pkgs.iotop
|
||||
pkgs.rust-bin.stable.latest.default
|
||||
|
||||
# For docker-compose like setups
|
||||
pkgs.arion
|
||||
];
|
||||
|
||||
# Arion works with Docker, but for NixOS-based containers, you need Podman
|
||||
# since NixOS 21.05.
|
||||
virtualisation.docker.enable = false;
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.podman.dockerSocket.enable = true;
|
||||
virtualisation.podman.defaultNetwork.dnsname.enable = true;
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
isNormalUser = false;
|
||||
username = "root";
|
||||
home = "/root";
|
||||
extraGroups = [];
|
||||
extraGroups = ["podman"];
|
||||
authorizedKeys = authorizedKeys;
|
||||
homeConfig = import ./home/root.nix {
|
||||
username = "root";
|
||||
|
|
@ -52,6 +52,7 @@
|
|||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
"podman"
|
||||
];
|
||||
authorizedKeys = authorizedKeys;
|
||||
homeConfig = import ./home/ironmagma.nix {
|
||||
|
|
|
|||
Loading…
Reference in a new issue