mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-23 08:26:49 +01:00
feat: add more scripts
This commit is contained in:
parent
cd289da742
commit
575db8e773
7 changed files with 99 additions and 9 deletions
|
|
@ -23,14 +23,41 @@ in {
|
|||
systemd # for bootctl and systemctl
|
||||
];
|
||||
})
|
||||
(makeScript {
|
||||
path = ./port-kill.bash;
|
||||
runtimeInputs = with pkgs; [
|
||||
lsof
|
||||
procps
|
||||
coreutils
|
||||
];
|
||||
})
|
||||
(makeScript {
|
||||
path = ./ssh-select.bash;
|
||||
runtimeInputs = with pkgs; [
|
||||
fzf
|
||||
openssh
|
||||
gawk
|
||||
gnused
|
||||
coreutils
|
||||
];
|
||||
})
|
||||
(makeScript {
|
||||
path = ./kctx.bash;
|
||||
runtimeInputs = with pkgs; [
|
||||
kubectl
|
||||
fzf
|
||||
];
|
||||
})
|
||||
]
|
||||
++ lib.optional config.fireproof.desktop.enable (makeScript {
|
||||
path = ./screenshot.bash;
|
||||
runtimeInputs = with pkgs; [
|
||||
slurp
|
||||
grim
|
||||
satty
|
||||
wl-clipboard
|
||||
];
|
||||
});
|
||||
++ lib.optionals config.fireproof.desktop.enable [
|
||||
(makeScript {
|
||||
path = ./screenshot.bash;
|
||||
runtimeInputs = with pkgs; [
|
||||
slurp
|
||||
grim
|
||||
satty
|
||||
wl-clipboard
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue