- Simplified command cases by removing unnecessary semicolons.
- Improved error handling in rebuild.nix for clarity and consistency.
This commit is contained in:
@ -1,9 +1,5 @@
|
||||
# ncli/commands/switch.nix — Specialization switching
|
||||
lib:
|
||||
|
||||
{}:
|
||||
|
||||
{
|
||||
lib: {
|
||||
switch_case = ''
|
||||
current=""
|
||||
if [ -f /etc/nixos-tags ]; then
|
||||
@ -35,6 +31,5 @@ lib:
|
||||
echo "To switch to a specialization, run: 'ncli switch <tag>'"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user