From 70b599ef92b1b0f825da02c98ecc7adeb4fad555 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 27 Jun 2022 21:38:03 +0200 Subject: [PATCH] Move podman to separate file --- home.nix | 4 ++-- programs/podman.nix | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 programs/podman.nix diff --git a/home.nix b/home.nix index 02da48e..7df0f27 100644 --- a/home.nix +++ b/home.nix @@ -17,6 +17,8 @@ ./programs/jq.nix + ./programs/podman.nix + ./programs/scripts.nix ./programs/ssh.nix @@ -48,9 +50,7 @@ nix-prefetch nvd parallel - podman q - qemu ripgrep rtmpdump streamlink diff --git a/programs/podman.nix b/programs/podman.nix new file mode 100644 index 0000000..d3abdce --- /dev/null +++ b/programs/podman.nix @@ -0,0 +1,13 @@ +{ pkgs, config, ... }: + +{ + home.packages = [ + pkgs.podman + pkgs.qemu + ]; + + xdg.configFile."containers/containers.conf.d/nix.conf".text = '' + [engine] + helper_binaries_dir = ["${config.home.profileDirectory}/bin"] + ''; +}