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;
|
common.desktop.enable = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
utm
|
utm
|
||||||
podman
|
|
||||||
podman-compose
|
|
||||||
qemu
|
qemu
|
||||||
anki-bin
|
anki-bin
|
||||||
];
|
];
|
||||||
|
|
|
@ -21,12 +21,6 @@
|
||||||
common.hercules.enable = true;
|
common.hercules.enable = true;
|
||||||
services.hercules-ci-agent.settings.concurrentTasks = 6;
|
services.hercules-ci-agent.settings.concurrentTasks = 6;
|
||||||
|
|
||||||
virtualisation.podman = {
|
|
||||||
enable = true;
|
|
||||||
dockerCompat = true;
|
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
appendHttpConfig = ''
|
appendHttpConfig = ''
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sharedConfig = {};
|
sharedConfig = {
|
||||||
|
settei.programs.podman.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
linuxConfig = lib.optionalAttrs isLinux {
|
linuxConfig = lib.optionalAttrs isLinux {
|
||||||
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;
|
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue