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.util-linux
|
||||||
pkgs.iotop
|
pkgs.iotop
|
||||||
pkgs.rust-bin.stable.latest.default
|
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 = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/swapfile";
|
device = "/swapfile";
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
username = "root";
|
username = "root";
|
||||||
home = "/root";
|
home = "/root";
|
||||||
extraGroups = [];
|
extraGroups = ["podman"];
|
||||||
authorizedKeys = authorizedKeys;
|
authorizedKeys = authorizedKeys;
|
||||||
homeConfig = import ./home/root.nix {
|
homeConfig = import ./home/root.nix {
|
||||||
username = "root";
|
username = "root";
|
||||||
|
|
@ -52,6 +52,7 @@
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"docker"
|
"docker"
|
||||||
|
"podman"
|
||||||
];
|
];
|
||||||
authorizedKeys = authorizedKeys;
|
authorizedKeys = authorizedKeys;
|
||||||
homeConfig = import ./home/ironmagma.nix {
|
homeConfig = import ./home/ironmagma.nix {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue