From 2766241bfa0dc3dcd45f532a390cf343d31e037a Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Fri, 9 Oct 2026 21:12:31 +0300 Subject: [PATCH] puppy os --- hosts/pupos/modules/podman.nix | 23 +++++++++++++++++++++++ hosts/pupos/modules/tailscale.nix | 11 ----------- 2 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 hosts/pupos/modules/podman.nix diff --git a/hosts/pupos/modules/podman.nix b/hosts/pupos/modules/podman.nix new file mode 100644 index 0000000..47b1722 --- /dev/null +++ b/hosts/pupos/modules/podman.nix @@ -0,0 +1,23 @@ +{ pkgs, ... }: +{ + virtualisation.podman = { + enable = true; + autoPrune = { + enable = true; + dates = "weekly"; + flags = [ "--all" ]; + }; + dockerCompat = true; + dockerSocket.enable = true; + defaultNetwork.settings.dns_enabled = true; + }; + + virtualisation.containers.registries.search = [ "docker.io" ]; + + users.users.dawn.extraGroups = [ "podman" ]; + + environment.systemPackages = with pkgs; [ + podman-compose + docker-compose + ]; +} diff --git a/hosts/pupos/modules/tailscale.nix b/hosts/pupos/modules/tailscale.nix index 3756db2..39a40ca 100644 --- a/hosts/pupos/modules/tailscale.nix +++ b/hosts/pupos/modules/tailscale.nix @@ -9,15 +9,4 @@ "--accept-dns" ]; }; - - home-manager.users.dawn = { - imports = [ ../../../users/modules/tailscale ]; - services.tailscale.ours = { - enable = true; - controlServer = "https://vpn.klbr.net"; - authKeyFile = "/home/dawn/.config/tailscale/ours-authkey"; - extraUpFlags = [ "--ssh" ]; - port = 1059; - }; - }; } -- 2.54.0