mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: move self-defined packages to own files
This commit is contained in:
parent
2390199b8a
commit
db231d4b83
8 changed files with 191 additions and 106 deletions
8
pkgs/bak/default.nix
Normal file
8
pkgs/bak/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ writeShellApplication }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "bak";
|
||||
text = ''
|
||||
cp "$1"{,.bak}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue