working flake-parts
This commit is contained in:
parent
0483b7cf66
commit
ceb855a857
15 changed files with 243 additions and 88 deletions
28
flake/shell.nix
Normal file
28
flake/shell.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
perSystem = {pkgs, ...}: {
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
name = "nichts";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
packages = with pkgs; [
|
||||
nil # nix language server
|
||||
alejandra
|
||||
git # take a guess
|
||||
statix # no idea
|
||||
deadnix # clean up unused nix code
|
||||
|
||||
(pkgs.writeShellApplication {
|
||||
name = "update";
|
||||
text = ''
|
||||
nix flake update && git commit flake.lock -m "flake: bump inputs"
|
||||
'';
|
||||
})
|
||||
(pkgs.writeShellApplication {
|
||||
name = "rebuild";
|
||||
text = ''
|
||||
nh os switch
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue