feat: move darwin podman to brew
This commit is contained in:
parent
5f8b85ff66
commit
a4d8132843
5 changed files with 14 additions and 27 deletions
|
@ -5,6 +5,7 @@
|
|||
./greeter.nix
|
||||
./input.nix
|
||||
./network.nix
|
||||
./podman.nix
|
||||
./sound.nix
|
||||
./sway.nix
|
||||
];
|
||||
|
|
9
machines/common/linux/podman.nix
Normal file
9
machines/common/linux/podman.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
podman-compose
|
||||
podman-tui
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./nix.nix
|
||||
./podman.nix
|
||||
./user.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -14,6 +14,10 @@ in {
|
|||
homebrew = {
|
||||
enable = true;
|
||||
caskArgs.require_sha = true;
|
||||
brews = [
|
||||
"podman"
|
||||
"podman-compose"
|
||||
];
|
||||
casks = [
|
||||
"1password"
|
||||
(skipSha "affinity-designer")
|
||||
|
|
Loading…
Reference in a new issue