Make test default for Makefile, add basic nushell config

This commit is contained in:
Evie Litherland-Smith 2023-07-05 11:02:57 +01:00
parent c96812d748
commit 1ad38651d3
3 changed files with 11 additions and 4 deletions

View file

@ -1,4 +1,7 @@
.PHONY: build debug test switch lock .PHONY: test build debug switch lock
test:
sudo nixos-rebuild test --flake .
build: build:
sudo nixos-rebuild build --flake . sudo nixos-rebuild build --flake .
@ -6,9 +9,6 @@ build:
debug: debug:
sudo nixos-rebuild build --flake . --show-trace sudo nixos-rebuild build --flake . --show-trace
test:
sudo nixos-rebuild test --flake .
switch: switch:
sudo nixos-rebuild switch --flake . sudo nixos-rebuild switch --flake .

View file

@ -5,6 +5,7 @@
./direnv.nix ./direnv.nix
./fish.nix ./fish.nix
./keychain.nix ./keychain.nix
./nushell.nix
./starship.nix ./starship.nix
./zsh.nix ./zsh.nix
]; ];

6
home/env/nushell.nix vendored Normal file
View file

@ -0,0 +1,6 @@
{...}: {
programs.nushell.enable = true;
programs.keychain.enableNushellIntegration = true;
programs.starship.enableNushellIntegration = true;
programs.direnv.enableNushellIntegration = true;
}