Use the correct filter for systems
This commit is contained in:
parent
ece3ec0574
commit
686a2f39e1
4 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ with lib;
|
|||
noto-fonts-cjk
|
||||
merriweather
|
||||
];
|
||||
} // (if (strings.hasSuffix "linux" pkgs.system) then {
|
||||
} // (if pkgs.stdenv.isLinux then {
|
||||
enableDefaultFonts = false;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
|
@ -23,7 +23,7 @@ with lib;
|
|||
};
|
||||
};
|
||||
fontDir.enable = true;
|
||||
} else { }) // (if (strings.hasSuffix "darwin" pkgs.system) then {
|
||||
} else { }) // (if pkgs.stdenv.isDarwin then {
|
||||
fontDir.enable = true;
|
||||
} else { });
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
environment.systemPackages = with pkgs; [
|
||||
pam_u2f # for pamu2fcfg
|
||||
];
|
||||
security.pam = mkIf (strings.hasSuffix "linux" pkgs.system) {
|
||||
security.pam = mkIf pkgs.stdenv.isLinux {
|
||||
u2f = {
|
||||
enable = true;
|
||||
cue = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue