Cleanup with LSP guidance
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
home.shellAliases = {
|
||||
# Nix Commands
|
||||
"nix:rebuild" = "sudo nixos-rebuild switch --flake /etc/nixos";
|
||||
"nix:update" = "cd /etc/nixos && nix flake update && sudo nixos-rebuild switch --flake .";
|
||||
"nix:purge" = "sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
"nix:purge" =
|
||||
"sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
"nix:edit" = "$EDITOR /etc/nixos";
|
||||
"nix:push" = "cd /etc/nixos && git add -A && git commit -m \"$(date -u +%s)\" && git push";
|
||||
"nix:pull" = "cd /etc/nixos && git pull";
|
||||
"nix:hw" = "sudo nixos-generate-config --show-hardware-config > /etc/nixos/hardware-configuration.nix";
|
||||
"nix:hw" =
|
||||
"sudo nixos-generate-config --show-hardware-config > /etc/nixos/hardware-configuration.nix";
|
||||
|
||||
# Utilities
|
||||
"fixaudio" = "systemctl --user restart pipewire pipewire-pulse wireplumber";
|
||||
|
||||
Reference in New Issue
Block a user