Compare commits

..

2 Commits

Author SHA1 Message Date
henrov c63fce4071 Working on reshuffling 2026-03-19 12:33:07 +00:00
henrov fb0461927b deleted generated files 2026-03-19 12:33:06 +00:00
2 changed files with 26 additions and 6 deletions
+13 -3
View File
@@ -983,10 +983,20 @@ Setting up GTK
This file installs and configures fonts
#+BEGIN_SRC nix :tangle generated/modules/desktop/fonts.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, pkgs, ... }:
{
options.mySystem.desktop.fonts.enable = lib.mkEnableOption "Enable system fonts";
config = lib.mkIf (lib.getOption "mySystem.desktop.fonts.enable") {
let
programName = "fonts";
# Enable toggle for this module
enableProgram = true;
in
{
# Top-level toggle
options.enableFonts =
lib.mkEnableOption "Enable system fonts";
# Apply configuration if enabled
config = lib.mkIf enableProgram {
fonts.packages = with pkgs; [
nerd-fonts.iosevka
nerd-fonts.fira-code
+13 -3
View File
@@ -1,8 +1,18 @@
{ lib, pkgs, ... }:
{
options.mySystem.desktop.fonts.enable = lib.mkEnableOption "Enable system fonts";
config = lib.mkIf (lib.getOption "mySystem.desktop.fonts.enable") {
let
programName = "fonts";
# Enable toggle for this module
enableProgram = true;
in
{
# Top-level toggle
options.enableFonts =
lib.mkEnableOption "Enable system fonts";
# Apply configuration if enabled
config = lib.mkIf enableProgram {
fonts.packages = with pkgs; [
nerd-fonts.iosevka
nerd-fonts.fira-code