Comments (3)
We use xdg.configFile
to set a large number of files, so we have the assertion that xdg.enable = true
such that those links will work correctly. For example
nix/modules/home-manager/fcitx5.nix
Line 34 in d634461
from nix.
My question was in what cases they don't work correctly if xdg.enable = false
? I and home-manager itself also use xdg.configFile.filename
regularly and it works just fine. Files are placed in default directories. Programs are loading them in default directories.
Only env variables are defined when xdg.enable = true
: https://github.com/nix-community/home-manager/blob/e3ad5108f54177e6520535768ddbf1e6af54b59d/modules/misc/xdg.nix#L91-L117. Only thing I'm not sure is version older than 20.09. It's treated specially in the home-manager. Maybe this requirement has come from some very some versions?
from nix.
Wait, I found a couple of conditions like this in home-manager: https://github.com/nix-community/home-manager/blob/e3ad5108f54177e6520535768ddbf1e6af54b59d/modules/programs/lazygit.nix#L51.
So maybe it is required on Darwin. On Linux I think it's definitely not required.
from nix.
Related Issues (20)
- yambar support HOT 2
- bug: `ctp.kvantum` does not allow `qt.platformTheme.name = qtct` HOT 5
- Global enable doesn't work for GTK HOT 3
- Ports for other home-manager modules HOT 1
- Can't build on nixos unstable when enabled globally HOT 5
- How to increase size of rofi window?
- Expose color palettes as attr sets in top level module HOT 3
- [Qt] Setting QT_STYLE_OVERRIDE breaks QML apps
- IFD at all HOT 1
- mpv: add uosc
- Inconsistent scale in applications
- Hyprlock support
- How to setup Qt theme? HOT 1
- Wezterm support HOT 3
- bug: `hyprland.settings.source` does not merge list
- Path of k9s skin is broken on Darwin when XDG_CONFIG_HOME is unset HOT 2
- lazygit does not launch on OS X when XDG is not enabled
- Add support for Element Desktop HOT 1
- Add support for Aseprite
- Add support for `zed-editor`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.