From 71d4d324188fbbc5cedee192542cda1f322dc3f9 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 6 Nov 2024 16:01:31 -0600 Subject: [PATCH] feat(nix): enable experimental `pipe-operators` --- hosts/luna/modules/nix.nix | 3 ++- hosts/luna/modules/services/gitea.nix | 1 + hosts/orion/modules/nix.nix | 3 ++- users/price/conf/nix/default.nix | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/luna/modules/nix.nix b/hosts/luna/modules/nix.nix index fe20ed57..d91001ba 100755 --- a/hosts/luna/modules/nix.nix +++ b/hosts/luna/modules/nix.nix @@ -3,6 +3,7 @@ nix = { settings = { experimental-features = [ + "pipe-operators" "nix-command" "flakes" ]; @@ -15,4 +16,4 @@ dates = "daily"; }; }; -} +} \ No newline at end of file diff --git a/hosts/luna/modules/services/gitea.nix b/hosts/luna/modules/services/gitea.nix index f7dd5c0c..9598d7c5 100644 --- a/hosts/luna/modules/services/gitea.nix +++ b/hosts/luna/modules/services/gitea.nix @@ -31,6 +31,7 @@ let ]; # allow using the new flake commands in our workflows experimental-features = [ + "pipe-operators" "nix-command" "flakes" ]; diff --git a/hosts/orion/modules/nix.nix b/hosts/orion/modules/nix.nix index 891b1c45..2aedb27b 100644 --- a/hosts/orion/modules/nix.nix +++ b/hosts/orion/modules/nix.nix @@ -7,6 +7,7 @@ nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; settings = { experimental-features = [ + "pipe-operators" "nix-command" "flakes" ]; @@ -28,4 +29,4 @@ options = "--delete-older-than 7d"; }; }; -} +} \ No newline at end of file diff --git a/users/price/conf/nix/default.nix b/users/price/conf/nix/default.nix index 3232c293..87bb4481 100644 --- a/users/price/conf/nix/default.nix +++ b/users/price/conf/nix/default.nix @@ -7,6 +7,7 @@ }; settings = { experimental-features = [ + "pipe-operators" "nix-command" "flakes" ];