Compare commits

..

2 Commits

Author SHA1 Message Date
henrov 9091c0d2fa Working on reshuffling 2026-03-19 12:43:27 +00:00
henrov 10ace9e021 deleted generated files 2026-03-19 12:43:27 +00:00
3 changed files with 10 additions and 22 deletions
+5 -11
View File
@@ -135,17 +135,13 @@ The Nix flake definition for Droidnix.
This sets the networking.
#+BEGIN_SRC nix :tangle generated/system/mysystem.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, ... }:
{
options.mySystem = lib.mkSubmodule {
# Root for custom options
options.mySystem = lib.mkOption {
type = lib.types.attrs; # simple attribute set
default = {};
description = "Root for custom mySystem options";
options = {
desktop = lib.mkSubmodule {
description = "Desktop-related modules (fonts, wm, theming)";
options = {};
};
};
};
}
#+END_SRC
@@ -985,10 +981,8 @@ This file installs and configures fonts
{ lib, pkgs, config, ... }:
{
# Top-level toggle
options.enableFonts = lib.mkEnableOption "Enable nerd fonts";
# Config is only applied when the module is evaluated
config = lib.mkIf (config.enableFonts or false) {
fonts.packages = with pkgs; [
nerd-fonts.iosevka
@@ -1,10 +1,8 @@
{ lib, pkgs, config, ... }:
{
# Top-level toggle
options.enableFonts = lib.mkEnableOption "Enable nerd fonts";
# Config is only applied when the module is evaluated
config = lib.mkIf (config.enableFonts or false) {
fonts.packages = with pkgs; [
nerd-fonts.iosevka
+5 -9
View File
@@ -1,14 +1,10 @@
{ lib, ... }:
{
options.mySystem = lib.mkSubmodule {
# Root for custom options
options.mySystem = lib.mkOption {
type = lib.types.attrs; # simple attribute set
default = {};
description = "Root for custom mySystem options";
options = {
desktop = lib.mkSubmodule {
description = "Desktop-related modules (fonts, wm, theming)";
options = {};
};
};
};
}