Move zet
script to its own repository
This commit is contained in:
parent
f695a1f905
commit
38d389eb9b
4 changed files with 40 additions and 159 deletions
|
@ -1,20 +1,26 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.writeShellApplication {
|
||||
home.packages =
|
||||
let
|
||||
name = "zet";
|
||||
in
|
||||
[
|
||||
(pkgs.writeShellApplication {
|
||||
inherit name;
|
||||
|
||||
runtimeInputs = with pkgs; [
|
||||
bashInteractive
|
||||
coreutils
|
||||
fzf
|
||||
git
|
||||
];
|
||||
runtimeInputs = with pkgs; [
|
||||
bashInteractive
|
||||
coreutils
|
||||
fzf
|
||||
git
|
||||
];
|
||||
|
||||
text = builtins.readFile ./script.sh;
|
||||
})
|
||||
];
|
||||
text = builtins.readFile "${inputs.zet}/${name}";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue