modules/system/common: enable podman for interactive machines

This commit is contained in:
Nikodem Rabuliński 2024-01-31 21:02:25 +01:00
parent 04e85bfc01
commit 638ce5fb4a
3 changed files with 3 additions and 9 deletions

View file

@ -11,8 +11,6 @@
common.desktop.enable = true;
home.packages = with pkgs; [
utm
podman
podman-compose
qemu
anki-bin
];

View file

@ -21,12 +21,6 @@
common.hercules.enable = true;
services.hercules-ci-agent.settings.concurrentTasks = 6;
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
services.nginx = {
enable = true;
appendHttpConfig = ''

View file

@ -3,7 +3,9 @@
lib,
...
}: let
sharedConfig = {};
sharedConfig = {
settei.programs.podman.enable = true;
};
linuxConfig = lib.optionalAttrs isLinux {
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;