mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Using ./home.nix and ./nixos.nix as entrypoints for hosts. Using hardware profiles. Using new entrypoints (profiles/base/profiles.nix + profiles/base/home.nix). New modules (for DNS handling, for themeing, ...). Split up deploy-tf.nix into several modules. Renamed common profile to base profile.
31 lines
550 B
Nix
31 lines
550 B
Nix
{ config, lib, ... }:
|
|
|
|
/*
|
|
This module:
|
|
* provides a central way to change the font my system uses.
|
|
*/
|
|
|
|
with lib;
|
|
|
|
let cfg = config.kw; in {
|
|
options.kw = {
|
|
wallpapers = mkOption {
|
|
type = types.listOf types.path;
|
|
};
|
|
|
|
font = {
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "Cozette";
|
|
};
|
|
size = mkOption {
|
|
type = types.float;
|
|
default = 9.0;
|
|
};
|
|
size_css = mkOption {
|
|
type = types.str;
|
|
default = "${toString (cfg.font.size + 3)}px";
|
|
};
|
|
};
|
|
};
|
|
}
|