feat(dconf): add enable option

This commit is contained in:
2026-05-22 09:52:24 +02:00
parent 36948fa1e9
commit 0826ac78e1
2 changed files with 128 additions and 115 deletions

View File

@@ -64,6 +64,7 @@
};
browser.primary = "firefox";
my.dconf.enable = true;
browser.secondary = "chromium";
cloud.azure.enable = true;
comms.signal.enable = true;

View File

@@ -1,11 +1,22 @@
{ config, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.dconf;
terminal = "kitty";
browser = config.browser.primary;
font = "${config.stylix.fonts.monospace.name} ${toString config.stylix.fonts.sizes.applications}";
in
{
options.my.dconf = {
enable = lib.mkEnableOption "dconf";
};
config = lib.mkIf cfg.enable {
dconf.settings = {
"org/gnome/desktop/background" = {
color-shading-type = "solid";
@@ -122,4 +133,5 @@ in
};
home.packages = with pkgs; [ dconf2nix ];
};
}