This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
30
apps/rebuild/default.nix
Normal file
30
apps/rebuild/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
writeShellApplication,
|
||||
coreutils,
|
||||
gnugrep,
|
||||
gnused,
|
||||
home-manager,
|
||||
hostname,
|
||||
nix,
|
||||
nixos-rebuild,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
name = "rebuild";
|
||||
text = builtins.readFile ./${name}.sh;
|
||||
in
|
||||
writeShellApplication {
|
||||
inherit name text;
|
||||
meta.mainProgram = name;
|
||||
|
||||
runtimeInputs = [
|
||||
coreutils
|
||||
gnugrep
|
||||
gnused
|
||||
home-manager
|
||||
hostname
|
||||
nix
|
||||
nixos-rebuild
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue