nixos/home/scripts/batlvl.nix

12 lines
197 B
Nix

{ config, pkgs, ... }:
let
batlvl = pkgs.writeShellApplication {
name = "batlvl";
runtimeInputs = [ ];
text = builtins.readFile ./batlvl.sh;
};
in
{
home.packages = [ batlvl ];
}