summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-06-03 17:56:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-06-03 17:56:16 -0500
commit7012f1047ec39b654bae55233da35544289e989c (patch)
tree50e603d310953f139b95560ea9a95c3effd522cb
parent8264c4659dbdb8d98310414badf288f8200fe242 (diff)
downloadnixos-7012f1047ec39b654bae55233da35544289e989c.tar.xz
nixos-7012f1047ec39b654bae55233da35544289e989c.zip
fix gtk3 file chooser settings
-rw-r--r--archetypes/collections/desktop/cad.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/archetypes/collections/desktop/cad.nix b/archetypes/collections/desktop/cad.nix
index 33edcd5..6b2c26b 100644
--- a/archetypes/collections/desktop/cad.nix
+++ b/archetypes/collections/desktop/cad.nix
@@ -11,5 +11,11 @@ in {
freecad
prusa-slicer
];
+ # TODO remove once #467783 is resolved
+ environment.sessionVariables = {
+ # Make GTK3 file-chooser settings discoverable
+ # per https://github.com/NixOS/nixpkgs/issues/467783#issuecomment-3648708206
+ GSETTINGS_SCHEMA_DIR ="${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}/glib-2.0/schemas";
+ };
};
}