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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,5 +9,6 @@
|
|||
pkgs.just
|
||||
pkgs.libnotify
|
||||
pkgs.micro
|
||||
pkgs.podman-compose
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,19 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.groups = {
|
||||
docker = {};
|
||||
podman = {};
|
||||
};
|
||||
|
||||
users.users.admin = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"podman"
|
||||
"docker"
|
||||
];
|
||||
hashedPassword = "$6$HrwFoHtYRwiTZsYo$gKNOvkQhjalczOLgoTXvVu1MaihYP4BdBnVpWkdoAf.5MAiV2mMPRibYyGv9ti1Q63AhGK7n4wOPjAU0O74mK0";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -28,26 +28,28 @@
|
|||
home.packages = with pkgs; [
|
||||
|
||||
# decibels # default GNOME audio player
|
||||
gnome-calendar # default GNOME calendar
|
||||
gnome-calendar # default GNOME calendar
|
||||
# gnome-contacts # default GNOME contacts
|
||||
|
||||
firefox # Mozilla web browser
|
||||
firefox # Mozilla web browser
|
||||
# google-chrome # web browser from Google
|
||||
# chromium # open source web browser from Google
|
||||
# brave # privacy oriented web browser
|
||||
# opera # fast alternative web browser
|
||||
# vivaldi # powerful and personal web browser
|
||||
|
||||
thunderbird # full-featured Mozilla e-mail client
|
||||
thunderbird # full-featured Mozilla e-mail client
|
||||
# geary # default GNOME email client
|
||||
|
||||
ptyxis # container aware GNOME terminal
|
||||
ptyxis # container aware GNOME terminal
|
||||
# alacritty # GPU accelerated terminal emulator
|
||||
# kitty # GPU accelerated terminal emulator
|
||||
|
||||
jetbrains-toolbox # fresh versions of Android Studio and other tools
|
||||
jetbrains-toolbox # fresh versions of Android Studio and other tools
|
||||
# devpod # open-source code spaces
|
||||
|
||||
pods # Podman desktop application
|
||||
|
||||
];
|
||||
|
||||
home.file = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue