mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 19:43:12 +00:00
Fix hr script
This commit is contained in:
parent
4e694a33ce
commit
da692f477c
4 changed files with 117 additions and 135 deletions
16
modules/home/terminal/hr/default.nix
Normal file
16
modules/home/terminal/hr/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.mods.terminal;
|
||||
|
||||
hr = pkgs.writeShellScriptBin "hr" (builtins.readFile ./hr.sh);
|
||||
in {
|
||||
options.mods.terminal.hr.enable = lib.mkEnableOption "Hefring (Work Tooling)";
|
||||
|
||||
config = lib.mkIf cfg.hr.enable {
|
||||
home.packages = [hr];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue