mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
script template
This commit is contained in:
parent
04a3c309fe
commit
a7fedb9e8a
|
@ -43,6 +43,15 @@
|
|||
}
|
||||
# Templates
|
||||
{
|
||||
home.file."Templates/Empty file".text = "";
|
||||
home.file = {
|
||||
"Templates/Empty file".text = "";
|
||||
"Templates/Empty bash script".text = ''
|
||||
#!/usr/bin/env bash
|
||||
# abort on error, undefined variables
|
||||
set -eu
|
||||
# print commands before execution
|
||||
set -x
|
||||
'';
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue