modules/system/common: enable podman for interactive machines
This commit is contained in:
parent
04e85bfc01
commit
638ce5fb4a
3 changed files with 3 additions and 9 deletions
|
@ -11,8 +11,6 @@
|
|||
common.desktop.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
utm
|
||||
podman
|
||||
podman-compose
|
||||
qemu
|
||||
anki-bin
|
||||
];
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue