new shell commands
This commit is contained in:
10
shell.nix
10
shell.nix
@ -34,6 +34,11 @@ pkgs.devshell.mkShell {
|
|||||||
help = "Compare current system to ./result";
|
help = "Compare current system to ./result";
|
||||||
command = "nvd diff /run/current-system result";
|
command = "nvd diff /run/current-system result";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "util-data-dirs";
|
||||||
|
help = "List XDG_DATA_DIRS in a readable format";
|
||||||
|
command = ''echo $XDG_DATA_DIRS | sed "s/:/\n/g" | sort -u'';
|
||||||
|
}
|
||||||
|
|
||||||
# Flake
|
# Flake
|
||||||
{
|
{
|
||||||
@ -46,6 +51,11 @@ pkgs.devshell.mkShell {
|
|||||||
help = "Validate the flake";
|
help = "Validate the flake";
|
||||||
command = "nix flake check";
|
command = "nix flake check";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "flake-trace";
|
||||||
|
help = "Validate the flake with stack trace";
|
||||||
|
command = "nix flake check --show-trace";
|
||||||
|
}
|
||||||
|
|
||||||
# Nix Store
|
# Nix Store
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user