fonts.nix: remove fonts from options
This commit is contained in:
parent
2d98ccfdb5
commit
6de9934ffe
4 changed files with 40 additions and 2 deletions
15
modules/options/style/fonts.nix
Normal file
15
modules/options/style/fonts.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption;
|
||||
inherit (lib.types) nullOr package listOf;
|
||||
in {
|
||||
options.modules.system.fonts = {
|
||||
# This defines extra fonts to be installed on the system.
|
||||
extraFonts = mkOption {
|
||||
type = nullOr (listOf package);
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption mkEnableOption;
|
||||
inherit (lib.types) str package submodule;
|
||||
inherit (lib.types) str package;
|
||||
in {
|
||||
options.modules.usrEnv.style.gtk = {
|
||||
enable = mkEnableOption "Wether to enable GTK theming";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue