Created
July 4, 2020 23:28
-
-
Save psanford/2e003497bb2e3ed40dbc07ee3a244b6b to your computer and use it in GitHub Desktop.
Overlay for using podman package and module from unstable channel. Useful if you are on nixos <= 20.03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
let | |
unstable = import <nixos-unstable-small> { }; | |
in { | |
disabledModules = [ | |
"virtualisation/container-config.nix" | |
"virtualisation/containers.nix" | |
"virtualisation/podman.nix" | |
"virtualisation/nixos-containers.nix" | |
]; | |
imports = [ | |
<nixos-unstable-small/nixos/modules/virtualisation/container-config.nix> | |
<nixos-unstable-small/nixos/modules/virtualisation/containers.nix> | |
<nixos-unstable-small/nixos/modules/virtualisation/nixos-containers.nix> | |
<nixos-unstable-small/nixos/modules/virtualisation/podman.nix> | |
]; | |
nixpkgs.overlays = [ | |
(self: super: { | |
podman = unstable.podman; | |
podman-unwrapped = unstable.podman-unwrapped; | |
}) | |
]; | |
virtualisation = { | |
containers.users = [ "psanford" ]; | |
podman = { | |
enable = true; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment