feat: turn off podman on WSL
This commit is contained in:
parent
232adff8dc
commit
5f8b85ff66
2 changed files with 26 additions and 8 deletions
|
@ -1,5 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
environment = {
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
inherit (pkgs.stdenv) isDarwin isLinux;
|
||||||
|
in {
|
||||||
|
environment = mkIf isDarwin {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
podman
|
podman
|
||||||
podman-compose
|
podman-compose
|
||||||
|
@ -8,4 +15,12 @@
|
||||||
];
|
];
|
||||||
pathsToLink = ["/share/qemu"];
|
pathsToLink = ["/share/qemu"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.podman = mkIf isLinux {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
podman-compose
|
||||||
|
podman-tui
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,16 +2,19 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
inherit (lib) mkForce;
|
||||||
|
in {
|
||||||
services = {
|
services = {
|
||||||
kanata.enable = lib.mkForce false;
|
kanata.enable = mkForce false;
|
||||||
dnsmasq.enable = lib.mkForce false;
|
dnsmasq.enable = mkForce false;
|
||||||
mullvad-vpn.enable = lib.mkForce false;
|
mullvad-vpn.enable = mkForce false;
|
||||||
stubby.enable = lib.mkForce false;
|
stubby.enable = mkForce false;
|
||||||
};
|
};
|
||||||
|
virtualisation.podman.enable = mkForce false;
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
build.installBootLoader = lib.mkForce "${pkgs.coreutils}/bin/true";
|
build.installBootLoader = mkForce "${pkgs.coreutils}/bin/true";
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue