mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 13:01:09 +01:00
use xdg.configFile for files in XDG config home
This commit is contained in:
parent
54a9058ee0
commit
d70715a635
9 changed files with 12 additions and 12 deletions
|
|
@ -71,7 +71,7 @@ in
|
|||
}
|
||||
|
||||
(mkIf (cfg.settings != {}) {
|
||||
home.file.".config/dunst/dunstrc".text = toDunstIni cfg.settings;
|
||||
xdg.configFile."dunst/dunstrc".text = toDunstIni cfg.settings;
|
||||
})
|
||||
]
|
||||
);
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [ cfg.package ];
|
||||
home.file.".config/polybar/config".source = configFile;
|
||||
xdg.configFile."polybar/config".source = configFile;
|
||||
|
||||
systemd.user.services.polybar = {
|
||||
Unit = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue