18 lines
578 B
Nix
18 lines
578 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
# Useful for getting the import information from github info for flakes.
|
|
nix-prefetch-github
|
|
|
|
nixfmt-rfc-style # Formatter
|
|
nil # Language Server
|
|
statix # Lints and suggestions for Nix
|
|
];
|
|
|
|
home.shellAliases = {
|
|
# This assumes that the repository is in ~/system-config
|
|
rebuild-switch = "sudo nixos-rebuild switch --flake ~/system-config --show-trace --print-build-logs --verbose";
|
|
rebuild-boot = "sudo nixos-rebuild boot --flake ~/system-config --show-trace --print-build-logs --verbose";
|
|
};
|
|
}
|