From 011ca118cc5d1b47881fa613ec8dc0be1ffcad2c Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 11 Aug 2024 01:51:49 +0200 Subject: [PATCH] fix: podman cask -> nix-darwin --- machines/sashimi/brew.nix | 3 +-- machines/sashimi/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/machines/sashimi/brew.nix b/machines/sashimi/brew.nix index 2853044..3b6fa56 100644 --- a/machines/sashimi/brew.nix +++ b/machines/sashimi/brew.nix @@ -16,7 +16,7 @@ in homebrew = { enable = true; caskArgs.require_sha = true; - brews = [ "podman" ]; + brews = [ ]; casks = [ "1password" (skipSha "affinity-designer") @@ -49,6 +49,5 @@ in autoUpdate = true; upgrade = true; }; - taps = [ "homebrew/cask" ]; }; } diff --git a/machines/sashimi/default.nix b/machines/sashimi/default.nix index 88d6fd4..315b1ed 100644 --- a/machines/sashimi/default.nix +++ b/machines/sashimi/default.nix @@ -1,3 +1,4 @@ +{ pkgs, ... }: { imports = [ ./brew.nix ]; @@ -10,4 +11,14 @@ latitude = 48.210033; longitude = 16.363449; }; + + environment = { + systemPackages = with pkgs; [ + podman + podman-compose + podman-tui + qemu + ]; + pathsToLink = [ "/share/qemu" ]; + }; }