minor revision
This commit is contained in:
parent
d6d949139c
commit
936f154a56
2 changed files with 191 additions and 201 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue