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
|
./greeter.nix
|
||||||
./input.nix
|
./input.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
|
./podman.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./sway.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 = [
|
imports = [
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./podman.nix
|
|
||||||
./user.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 = {
|
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")
|
||||||
|
|
Loading…
Reference in a new issue