feat: move darwin podman to brew

This commit is contained in:
winston 2024-05-01 20:59:54 +02:00
parent 5f8b85ff66
commit a4d8132843
Signed by: winston
GPG key ID: 3786770EDBC2B481
5 changed files with 14 additions and 27 deletions

View file

@ -5,6 +5,7 @@
./greeter.nix ./greeter.nix
./input.nix ./input.nix
./network.nix ./network.nix
./podman.nix
./sound.nix ./sound.nix
./sway.nix ./sway.nix
]; ];

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
virtualisation.podman = {
enable = true;
extraPackages = with pkgs; [
podman-compose
podman-tui
];
};
}

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
./nix.nix ./nix.nix
./podman.nix
./user.nix ./user.nix
]; ];
} }

View file

@ -1,26 +0,0 @@
{
lib,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (pkgs.stdenv) isDarwin isLinux;
in {
environment = mkIf isDarwin {
systemPackages = with pkgs; [
podman
podman-compose
podman-tui
qemu
];
pathsToLink = ["/share/qemu"];
};
virtualisation.podman = mkIf isLinux {
enable = true;
extraPackages = with pkgs; [
podman-compose
podman-tui
];
};
}

View file

@ -14,6 +14,10 @@ in {
homebrew = { homebrew = {
enable = true; enable = true;
caskArgs.require_sha = true; caskArgs.require_sha = true;
brews = [
"podman"
"podman-compose"
];
casks = [ casks = [
"1password" "1password"
(skipSha "affinity-designer") (skipSha "affinity-designer")