flake: add temp fix for broken PAM in unstable
See NixOS/nixpkgs#157112
This commit is contained in:
parent
5f8454285e
commit
d5813bfdb6
17
flake.lock
17
flake.lock
|
@ -100,6 +100,22 @@
|
|||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1643502397,
|
||||
|
@ -140,6 +156,7 @@
|
|||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs-fixed-pam": "nixpkgs-fixed-pam",
|
||||
"nixpkgs-unstable-small": "nixpkgs-unstable-small"
|
||||
}
|
||||
}
|
||||
|
|
10
flake.nix
10
flake.nix
|
@ -15,6 +15,13 @@
|
|||
ref = "nixos-unstable-small";
|
||||
};
|
||||
|
||||
nixpkgs-fixed-pam = {
|
||||
type = "github";
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
rev = "ffdadd3ef9167657657d60daf3fe0f1b3176402d";
|
||||
};
|
||||
|
||||
agenix = {
|
||||
type = "github";
|
||||
owner = "ryantm";
|
||||
|
@ -81,6 +88,9 @@
|
|||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
i3lock-color = super.i3lock-color.override {
|
||||
pam = (import inputs.nixpkgs-fixed-pam { inherit system; }).pam;
|
||||
};
|
||||
})
|
||||
|
||||
agenix.overlay
|
||||
|
|
Loading…
Reference in a new issue