fix: move podman to system packages
This commit is contained in:
parent
4ddeac5573
commit
dbe7b06cd2
4 changed files with 19 additions and 3 deletions
|
@ -42,9 +42,6 @@ in {
|
||||||
gh
|
gh
|
||||||
gocryptfs
|
gocryptfs
|
||||||
mosh
|
mosh
|
||||||
podman
|
|
||||||
podman-compose
|
|
||||||
qemu
|
|
||||||
]
|
]
|
||||||
++ lib.optionals isLinux [
|
++ lib.optionals isLinux [
|
||||||
_1password-gui
|
_1password-gui
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
imports = [
|
||||||
|
./shared
|
||||||
|
];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix = {
|
nix = {
|
||||||
gc.automatic = true;
|
gc.automatic = true;
|
||||||
|
|
5
machines/common/shared/default.nix
Normal file
5
machines/common/shared/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./podman.nix
|
||||||
|
];
|
||||||
|
}
|
11
machines/common/shared/podman.nix
Normal file
11
machines/common/shared/podman.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
podman
|
||||||
|
podman-compose
|
||||||
|
podman-tui
|
||||||
|
qemu
|
||||||
|
];
|
||||||
|
pathsToLink = ["/share/qemu"];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue