minor revision

This commit is contained in:
Yan Lin 2025-10-22 20:56:06 +02:00
parent d6d949139c
commit 936f154a56
2 changed files with 191 additions and 201 deletions

View file

@ -14,9 +14,9 @@
../../../modules/ghostty.nix ../../../modules/ghostty.nix
]; ];
# Enable GNOME configuration programs.yt-dlp-custom = {
programs.gnome-custom = {
enable = true; enable = true;
downloadDir = "~/Downloads/web-video";
}; };
# Enable Ghostty terminal with OSC-52 clipboard support # Enable Ghostty terminal with OSC-52 clipboard support

View file

@ -1,21 +1,12 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
with lib;
let let
cfg = config.programs.gnome-custom;
# Import gvariant helpers for dconf types # Import gvariant helpers for dconf types
mkTuple = lib.hm.gvariant.mkTuple; mkTuple = lib.hm.gvariant.mkTuple;
mkUint32 = lib.hm.gvariant.mkUint32; mkUint32 = lib.hm.gvariant.mkUint32;
in in
{ {
options.programs.gnome-custom = {
enable = mkEnableOption "GNOME desktop environment configuration";
};
config = mkIf cfg.enable {
# GNOME configuration via dconf # GNOME configuration via dconf
dconf.settings = { dconf.settings = {
# Interface settings # Interface settings
@ -210,5 +201,4 @@ in
fi fi
} }
''; '';
};
} }