mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
treewide: get rid of attrValues pattern because nixd doesn't support goto def on it
This commit is contained in:
parent
30d4b5e421
commit
372df8b48a
11 changed files with 160 additions and 196 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) attrValues disabled merge mkIf;
|
||||
inherit (lib) disabled merge mkIf;
|
||||
in merge
|
||||
|
||||
(mkIf config.isDesktop {
|
||||
|
@ -9,17 +9,15 @@ in merge
|
|||
packages = [ pkgs.terminus_font ];
|
||||
};
|
||||
|
||||
fonts.packages = attrValues {
|
||||
sans = config.theme.font.sans.package;
|
||||
mono = config.theme.font.mono.package;
|
||||
fonts.packages = [
|
||||
config.theme.font.sans.package
|
||||
config.theme.font.mono.package
|
||||
|
||||
inherit (pkgs)
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-lgc-plus
|
||||
noto-fonts-emoji
|
||||
;
|
||||
};
|
||||
pkgs.noto-fonts
|
||||
pkgs.noto-fonts-cjk-sans
|
||||
pkgs.noto-fonts-lgc-plus
|
||||
pkgs.noto-fonts-emoji
|
||||
];
|
||||
})
|
||||
|
||||
(mkIf config.isServer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue