From 1ad38651d386ce3407b608c5e5f30e17aa64d3f6 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 5 Jul 2023 11:02:57 +0100 Subject: [PATCH] Make test default for Makefile, add basic nushell config --- Makefile | 8 ++++---- home/env/default.nix | 1 + home/env/nushell.nix | 6 ++++++ 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 home/env/nushell.nix diff --git a/Makefile b/Makefile index c17e5189..5e940603 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -.PHONY: build debug test switch lock +.PHONY: test build debug switch lock + +test: + sudo nixos-rebuild test --flake . build: sudo nixos-rebuild build --flake . @@ -6,9 +9,6 @@ build: debug: sudo nixos-rebuild build --flake . --show-trace -test: - sudo nixos-rebuild test --flake . - switch: sudo nixos-rebuild switch --flake . diff --git a/home/env/default.nix b/home/env/default.nix index 185d163f..bd7cb9ea 100644 --- a/home/env/default.nix +++ b/home/env/default.nix @@ -5,6 +5,7 @@ ./direnv.nix ./fish.nix ./keychain.nix + ./nushell.nix ./starship.nix ./zsh.nix ]; diff --git a/home/env/nushell.nix b/home/env/nushell.nix new file mode 100644 index 00000000..27e25f06 --- /dev/null +++ b/home/env/nushell.nix @@ -0,0 +1,6 @@ +{...}: { + programs.nushell.enable = true; + programs.keychain.enableNushellIntegration = true; + programs.starship.enableNushellIntegration = true; + programs.direnv.enableNushellIntegration = true; +}