added podman support
This commit is contained in:
parent
879754cb8d
commit
fe5ec84f14
4 changed files with 34 additions and 11 deletions
|
|
@ -6,6 +6,10 @@
|
|||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console.keyMap = "us";
|
||||
|
||||
boot.supportedFilesystems = [ "btrfs" "ext4" "vfat" "xfs" ];
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = lib.mkBefore [
|
||||
|
|
@ -20,12 +24,18 @@
|
|||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
boot.supportedFilesystems = [ "btrfs" "ext4" "vfat" "xfs" ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
# docker.enable = true;
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue