Regenerated

This commit is contained in:
2026-03-24 09:04:47 +00:00
parent 5460993fac
commit 32eb2be024
21 changed files with 45 additions and 814 deletions
+8 -7
View File
@@ -624,23 +624,24 @@ in
** =generated/modules/traveldroid/desktop/stylix.nix=
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/stylix.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, lib, config, flakeRoot, ... }:
{ lib, config, pkgs, flakeRoot, ... }:
let
# Default user from host config
# Determine the default username from host config
username = config.defaultUser or "henrov";
moduleName = "stylix";
# Path to stylix configuration assets
assetPath = "${flakeRoot}/assets/traveldroid/conf/";
# Read all files in the asset directory
programFiles = builtins.readDir assetPath;
files = lib.genAttrs (builtins.attrNames programFiles) (name: {
source = "${assetPath}/${name}";
});
# Optional stylix.conf (kept for reference)
stylixConfFile = "${assetPath}/stylix.conf";
stylixConf = if builtins.pathExists stylixConfFile then builtins.readFile stylixConfFile else "";
# Cursor defaults
cursorName = "phinger-cursors-light";
cursorSize = 24;
@@ -661,7 +662,7 @@ in
stylix = {
enable = true;
# Enable GTK target for Stylix
# Enable GTK target for this user
targets = {
gtk = {
enable = true;
@@ -675,7 +676,7 @@ in
}) files;
};
# Environment variables for the session
# Session environment variables
home.sessionVariables = {
STYLIX_CONF = "$HOME/.config/stylix/stylix.conf";