From a266ab201fdb63330a78a794aedcc6042f743156 Mon Sep 17 00:00:00 2001 From: CDaut Date: Sun, 6 Oct 2024 12:37:29 +0200 Subject: [PATCH] pinned nixpkgs version --- configuration.nix | 2 ++ flake.nix | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index b3cc5d9..9387981 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,6 +6,8 @@ "flakes" ]; + nix.registry.nixpkgs.flake = inputs.nixpkgs; + # Bootloader. boot.loader = { efi.canTouchEfiVariables = true; diff --git a/flake.nix b/flake.nix index 6f48a3f..b518ae1 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,9 @@ }; laptop-x11 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = let inputs.x11mode = true; in { inherit inputs; }; + specialArgs = { + inputs = inputs // { x11mode = true; }; + }; modules = [ ./configuration.nix ./hardware_configuration.nix @@ -28,7 +30,9 @@ }; laptop-wayland = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = let inputs.x11mode = false; in { inherit inputs; }; + specialArgs = { + inputs = inputs // { x11mode = false; }; + }; modules = [ ./configuration.nix ./hardware_configuration.nix