Skip to content

Commit

Permalink
Install podman-desktop via nixpkgs (#881)
Browse files Browse the repository at this point in the history
* Install podman-desktop in macOS via nixpkgs

* Also install podman-desktop on NixOS

* Add podman-desktop icon in GNOME dock
  • Loading branch information
kachick authored Oct 22, 2024
1 parent c0f9666 commit 55a8ef3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ lib.mkMerge [
# https://github.com/NixOS/nixpkgs/blob/bba8dffd3135f35810e9112c40ee621f4ede7cca/pkgs/by-name/ze/zed-editor/package.nix#L217-L219
# edge-pkgs.zed-editor

edge-pkgs.podman-desktop # Useable since https://github.com/NixOS/nixpkgs/pull/343648

edge-pkgs.signal-desktop # Useable since https://github.com/NixOS/nixpkgs/pull/348165

homemade-pkgs.maccy
Expand Down
1 change: 1 addition & 0 deletions home-manager/gnome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ in
"dev.zed.Zed.desktop"
"firefox.desktop"
"google-chrome.desktop"
"podman-desktop.desktop"
"io.gitlab.news_flash.NewsFlash.desktop"
amazon_music-pwa-file
"org.gnome.Rhythmbox3.desktop"
Expand Down
1 change: 0 additions & 1 deletion home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
# - Enable special module for Nix OS.
# - Linux package does not contain podman-remote, you should install uidmap with apt and use this podman as actual engine
# https://github.com/NixOS/nixpkgs/blob/194846768975b7ad2c4988bdb82572c00222c0d7/pkgs/applications/virtualization/podman/default.nix#L112-L116
# - In darwin, this package will be used for podman-remote, you should manually install podman-desktop for the engine
podman
podman-tui
docker-compose
Expand Down
2 changes: 2 additions & 0 deletions nixos/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
edge-pkgs.zed-editor
# Adding for zed instead of zeditor since https://github.com/NixOS/nixpkgs/pull/344193. Also keep original zed-editor package here to add icons for GUI
homemade-pkgs.zed

edge-pkgs.podman-desktop
]
++ (with pkgs; [
firefox
Expand Down

0 comments on commit 55a8ef3

Please sign in to comment.