From ae1ba47a679903e6a1b98a5b1e00f65e32b082a3 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 31 Oct 2025 07:10:25 +0100 Subject: feat(workstation): add (nix-)direnv --- nixos/profiles/workstation/default.nix | 2 ++ nixos/profiles/workstation/dev.nix | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 9df5328..2fb983a 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -57,6 +57,8 @@ in MYNIX_PROFILE = "workstation"; }; + nix.settings.experimental-features = ["nix-command" "flakes"]; + # Age defaults to this anyway when openssh is enabled. # We're setting this here for workstations where openssh is disabled. age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"]; diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index a40d574..262c55e 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -4,10 +4,12 @@ environment.systemPackages = with pkgs; [ rustup go - golangci-lint python313 nodejs_22 + direnv + nix-direnv + # CLI tools skim docker-compose -- cgit v1.2.3