This commit is contained in:
TheK0tYaRa 2026-02-14 20:19:00 +02:00
parent 58f967af43
commit 3c85c13513
6 changed files with 189 additions and 2 deletions

26
devenv.nix Normal file
View file

@ -0,0 +1,26 @@
{
pkgs,
lib,
config,
inputs,
...
}:
{
# https://devenv.sh/scripts/
scripts = {
update.exec = ''
nix flake update
'';
build.exec = ''
nixos-rebuild switch --sudo --flake '.#'
'';
};
# https://devenv.sh/basics/
enterShell = ''
update
'';
# See full reference at https://devenv.sh/reference/options/
}