aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 19:58:21 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 19:58:21 +0200
commit7204d9df744173e981506a3e76b875fa565c6344 (patch)
tree41c600994a471406944719a6109c2255aa793397 /flake.nix
parentc8d79c2a149153eba15fc7729b2349199dff362f (diff)
fix flakeHEADmaster
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 1ecb544..896c2f9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,7 +7,8 @@
outputs = { self, nixpkgs }:
let
- pkgs = import nixpkgs { system = "x86_64-linux"; };
+ localSystem = { system = "x86_64-linux"; };
+ pkgs = import nixpkgs { inherit localSystem; };
luap = pkgs.lua54Packages;
inputs = [
luap.lua
@@ -36,7 +37,7 @@
nixosModules.default = { pkgs, ... }: {
config = {
- environment.systemPackages = [ self.packages.${pkgs.system}.default ];
+ environment.systemPackages = [ self.packages.${pkgs.stdenv.hostPlatform.system}.default ];
};
};
};