aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-10-31 07:10:25 +0100
committerMartin Fischer <martin@push-f.com>2025-11-17 07:41:47 +0100
commitae1ba47a679903e6a1b98a5b1e00f65e32b082a3 (patch)
treeaf310a989b68c4a6d7b92f70c5352a030ff370dc /nixos
parentad2889e6d62c64d133c1147f247f761b13d6d374 (diff)
feat(workstation): add (nix-)direnvHEADmaster
Diffstat (limited to 'nixos')
-rw-r--r--nixos/profiles/workstation/default.nix2
-rw-r--r--nixos/profiles/workstation/dev.nix4
2 files changed, 5 insertions, 1 deletions
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