DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

6e56327cfcc720849516ed50e4ed522e2671087c — Jonni Liljamo a month ago 4156987
feat(hosts/alice): enable podman
3 files changed, 20 insertions(+), 0 deletions(-)

M hosts/alice/default.nix
M roles/default.nix
A roles/podman.nix
M hosts/alice/default.nix => hosts/alice/default.nix +2 -0
@@ 59,6 59,8 @@
  roles.zellij.enable = true;
  roles.kitty.enable = true;

  roles.podman.enable = true;

  roles.graphics = {
    enable = true;
    nvidia.enable = true;

M roles/default.nix => roles/default.nix +1 -0
@@ 15,6 15,7 @@
    ./nix.nix
    ./obs.nix
    ./plasma.nix
    ./podman.nix
    ./prometheus.nix
    ./qutebrowser.nix
    ./tailscale.nix

A roles/podman.nix => roles/podman.nix +17 -0
@@ 0,0 1,17 @@
{
  config,
  lib,
  ...
}: let
  cfg = config.roles.podman;
in {
  options.roles.podman = {
    enable = lib.mkEnableOption "Podman";
  };

  config = lib.mkIf cfg.enable {
    virtualisation.podman = {
      enable = true;
    };
  };
}