Files
dev/configs/nixos/modules/shell/omp.nix
2026-09-13 00:16:30 -04:00

21 lines
388 B
Nix

{
config,
lib,
pkgs,
...
}:
# Oh My Pi, installed alongside upstream Pi as the `omp` command.
let
cfg = config.modules.shell.omp;
user = config.user.name;
in
{
options.modules.shell.omp = {
enable = lib.mkEnableOption "Oh My Pi, a batteries-included fork of Pi";
};
config = lib.mkIf cfg.enable {
home-manager.users.${user}.home.packages = [ pkgs.omp ];
};
}