From 5d052d817a6570d0e780a31b599b312af20d3f59 Mon Sep 17 00:00:00 2001 From: Bad Date: Sun, 12 Sep 2021 23:46:43 +0200 Subject: [PATCH] Switch to user podman profile --- profiles/develop/default.nix | 5 ----- users/profiles/podman/default.nix | 11 +++-------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/profiles/develop/default.nix b/profiles/develop/default.nix index bed0cfe..b7ca542 100644 --- a/profiles/develop/default.nix +++ b/profiles/develop/default.nix @@ -13,10 +13,5 @@ kondo # for removing unused files ]; - virtualisation.podman.enable = true; - virtualisation.podman.defaultNetwork.dnsname.enable = true; - virtualisation.podman.dockerSocket.enable = true; -# virtualisation.docker.enable = true; - programs.adb.enable = true; } diff --git a/users/profiles/podman/default.nix b/users/profiles/podman/default.nix index 4996642..8f2599b 100644 --- a/users/profiles/podman/default.nix +++ b/users/profiles/podman/default.nix @@ -1,11 +1,6 @@ {pkgs, ...}: { - xdg.configFile.podman-service ={ - target = "systemd/user/podman.service"; - source = "${pkgs.podman}/lib/systemd/system/podman.service"; - }; - xdg.configFile.podman-socket ={ - target = "systemd/user/podman.socket"; - source = "${pkgs.podman}/lib/systemd/system/podman.socket"; - }; + services.podman.enable = true; + services.podman.defaultNetwork.dnsname.enable = true; + services.podman.dockerSocket.enable = true; }