whack
This commit is contained in:
parent
9c34d4fd14
commit
57fb5b54ab
|
@ -1,5 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let nixKey = "/var/lib/nix/binary-cache-key";
|
let nixKey = "/var/lib/nix/binary-cache-key";
|
||||||
|
# just using the filepath interacts poorly with typechecking under diverted stores
|
||||||
|
toStore = path: pkgs.writeText (builtins.baseNameOf path) (builtins.readFile path);
|
||||||
in {
|
in {
|
||||||
imports = [ ./overlays/packages.nix ];
|
imports = [ ./overlays/packages.nix ];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -172,7 +174,7 @@ in {
|
||||||
|
|
||||||
security.pam.u2f = {
|
security.pam.u2f = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.authfile = ./dotfiles/u2f-keys;
|
settings.authfile = toStore ./dotfiles/u2f-keys;
|
||||||
settings.cue = true;
|
settings.cue = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue