From f3ea72d2248cf4a24ed1122bda1b971ea8260ac3 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sat, 21 Jan 2023 16:01:59 +0100 Subject: [PATCH] podman things --- home/nixos-common.nix | 4 ++++ nixos/common.nix | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/home/nixos-common.nix b/home/nixos-common.nix index 311d994..6d77481 100644 --- a/home/nixos-common.nix +++ b/home/nixos-common.nix @@ -92,6 +92,10 @@ ".local/share/Steam" ".local/share/SuperCollider" ".local/share/TelegramDesktop" + { + directory = ".local/share/containers"; + method = "symlink"; + } ".local/share/dino" ".local/share/direnv" ".local/share/gopass/stores" diff --git a/nixos/common.nix b/nixos/common.nix index 491bf1c..65b8b56 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -183,6 +183,14 @@ "adbusers" "video" ]; + subUidRanges = [{ + startUid = 100000; + count = 65536; + }]; + subGidRanges = [{ + startGid = 100000; + count = 65536; + }]; initialHashedPassword = "$6$tzMk5I1KZlx7byaO$BvlSz7Cgo1g09e4RpxAjrZEuCptzjibF8nDWDfnOImTbz61Py/qzATDAa7HwAC3JyiZxb.2slTb.vA.f25ypd1"; }; @@ -234,8 +242,8 @@ virtualisation = { docker.enable = true; podman = { - enable = true; - defaultNetwork.dnsname.enable = true; + enable = true; + defaultNetwork.dnsname.enable = true; }; libvirtd.enable = true; spiceUSBRedirection.enable = true;