diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-23 13:44:24 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-23 13:44:24 +0100 |
commit | 02817098e005de516a266b70d344d3b525e9deea (patch) | |
tree | a8733b608f4601a4c93ff5fa6a34562ab4875ae1 /infra/libkookie/configuration | |
parent | 29419948d7c668798274be78e639b4ace4ea63e5 (diff) |
libkookie: add podman, and install additional modules to tempest set
Diffstat (limited to 'infra/libkookie/configuration')
-rw-r--r-- | infra/libkookie/configuration/workstation/devel/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/infra/libkookie/configuration/workstation/devel/default.nix b/infra/libkookie/configuration/workstation/devel/default.nix index 968387a9b84d..337767245f61 100644 --- a/infra/libkookie/configuration/workstation/devel/default.nix +++ b/infra/libkookie/configuration/workstation/devel/default.nix @@ -19,7 +19,40 @@ in # Direnv is used to trigger lorri env direnv + + # Configure userspace container runner + podman ]; + xdg.configFile."podman/containers/libpod.conf" = { + text = '' + runtime_path = ["${pkgs.runc}/bin/runc"] + conmon_path = ["${pkgs.conmon}/bin/conmon"] + ''; + }; + + xdg.configFile."podman/containers/policy.json" = { + text = builtins.toJSON { + default = [ { type = "insecureAcceptAnything"; } ]; + }; + }; + + xdg.configFile."podman/containers/registries.conf" = { + text = '' + [registries.search] + registries = ['docker.io'] + ''; + }; + + xdg.configFile."podman/containers/storage.conf" = { + text = '' + [storage] + driver = "zfs" + runroot = "/tmp/1000" + graphroot = "/home/.local/podman + ''; + }; + + # Enable lorri service to build project environments services.lorri.enable = true; } |