All checks were successful
/ check (push) Successful in 57s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
28 lines
513 B
Nix
28 lines
513 B
Nix
{ withSystem, ... }:
|
|
|
|
let
|
|
name = "weight";
|
|
in
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
packages.${name} = pkgs.writeShellApplication {
|
|
inherit name;
|
|
|
|
runtimeInputs = with pkgs; [
|
|
coreutils
|
|
];
|
|
|
|
text = ''tail "$XDG_DOCUMENTS_DIR/wiki/2-areas/health-fitness/weight.csv"'';
|
|
};
|
|
};
|
|
|
|
flake.modules.homeManager.base =
|
|
{ pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
(withSystem pkgs.system (psArgs: psArgs.config.packages.${name}))
|
|
];
|
|
};
|
|
}
|