feat(nixos): add OMP module

This commit is contained in:
2026-09-13 00:16:30 -04:00
parent 7625b031ec
commit 8fe2e6f844
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
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 ];
};
}