DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

e6173588a642c93c083c90057989195068a06226 — Jonni Liljamo a month ago 3fbac35
feat: imv role
3 files changed, 18 insertions(+), 0 deletions(-)

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

  roles.imv.enable = true;

  roles.podman.enable = true;

  roles.graphics = {

M roles/default.nix => roles/default.nix +1 -0
@@ 11,6 11,7 @@
    ./docker.nix
    ./git.nix
    ./hyprland.nix
    ./imv.nix
    ./kitty.nix
    ./nix.nix
    ./obs.nix

A roles/imv.nix => roles/imv.nix +15 -0
@@ 0,0 1,15 @@
{
  config,
  lib,
  ...
}: let
  cfg = config.roles.imv;
in {
  options.roles.imv = {
    enable = lib.mkEnableOption "imv, a command line image viewer";
  };

  config = lib.mkIf cfg.enable {
    hm.programs.imv.enable = true;
  };
}