flake: add temp fix for broken PAM in unstable

See NixOS/nixpkgs#157112
This commit is contained in:
Antoine Martin 2022-01-31 16:21:13 +01:00
parent 5f8454285e
commit d5813bfdb6
2 changed files with 27 additions and 0 deletions

View file

@ -100,6 +100,22 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs-fixed-pam": {
"locked": {
"lastModified": 1643302241,
"narHash": "sha256-cEIhdgbUkiptcSAZ52iuXvG72WNv6m4pR3Y4Lf8mP9s=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ffdadd3ef9167657657d60daf3fe0f1b3176402d",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ffdadd3ef9167657657d60daf3fe0f1b3176402d",
"type": "github"
}
},
"nixpkgs-unstable-small": { "nixpkgs-unstable-small": {
"locked": { "locked": {
"lastModified": 1643502397, "lastModified": 1643502397,
@ -140,6 +156,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-fixed-pam": "nixpkgs-fixed-pam",
"nixpkgs-unstable-small": "nixpkgs-unstable-small" "nixpkgs-unstable-small": "nixpkgs-unstable-small"
} }
} }

View file

@ -15,6 +15,13 @@
ref = "nixos-unstable-small"; ref = "nixos-unstable-small";
}; };
nixpkgs-fixed-pam = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
rev = "ffdadd3ef9167657657d60daf3fe0f1b3176402d";
};
agenix = { agenix = {
type = "github"; type = "github";
owner = "ryantm"; owner = "ryantm";
@ -81,6 +88,9 @@
config.allowUnfree = true; config.allowUnfree = true;
}; };
i3lock-color = super.i3lock-color.override {
pam = (import inputs.nixpkgs-fixed-pam { inherit system; }).pam;
};
}) })
agenix.overlay agenix.overlay