best practices: get rid of with pkgs;
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
{
|
||||
options.my.apps.fonts.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.apps.fonts.enable {
|
||||
users.users.jawz.packages = with pkgs; [
|
||||
nerdfonts
|
||||
symbola
|
||||
comic-neue
|
||||
cascadia-code
|
||||
];
|
||||
users.users.jawz.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
nerdfonts
|
||||
symbola
|
||||
comic-neue
|
||||
cascadia-code
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user