all repos — nixfiles @ 2b09b74ba617346a0c9c932543e658837ef9e5d2

System and user configuration, managed by nix and home-manager

nix: pin nixpkgs to flake input globally and per-user

Alan Pearce
commit

2b09b74ba617346a0c9c932543e658837ef9e5d2

parent

a2534b9daab7d39d2eeb005f7648b74bc72a8520

M flake.nixflake.nix
@@ -42,6 +42,7 @@ in
{ nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; + specialArgs = { inherit inputs; }; modules = [ ./system/prefect.nix ] ++ (with nixos-hardware.nixosModules; [
@@ -54,10 +55,12 @@ ]);
}; nixosConfigurations.nanopi = nixpkgs.lib.nixosSystem { system = utils.lib.system.aarch64-linux; + specialArgs = { inherit inputs; }; modules = [ ./nanopi.nix ]; }; darwinConfigurations.mba = darwin.lib.darwinSystem { system = utils.lib.system.aarch64-darwin; + specialArgs = { inherit inputs; }; modules = [ ./system/mba.nix ]; }; homeConfigurations."alan@mba" = mkHomeConfiguration {
M system/settings/configuration/nix.nixsystem/settings/configuration/nix.nix
@@ -2,6 +2,9 @@ { config
, pkgs , ... }: { + imports = [ + ../../../pin.nix + ]; nix = { settings = { cores = 0;
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -3,6 +3,9 @@ , pkgs
, lib , ... }: { + imports = [ + ../../pin.nix + ]; services.nix-daemon = { enable = true; enableSocketListener = true;
M user/settings/nix.nixuser/settings/nix.nix
@@ -3,7 +3,7 @@ , pkgs
, ... }: { imports = [ - ./pin.nix + ../../pin.nix ]; nixpkgs.config = import ../config.nix; home.packages = with pkgs; [