fix(mumble): Persist data
This commit is contained in:
@@ -8,6 +8,7 @@ in {
|
|||||||
description = ''
|
description = ''
|
||||||
The path to the Emacs user directory.
|
The path to the Emacs user directory.
|
||||||
'';
|
'';
|
||||||
|
# Mutable config.
|
||||||
default = "/persist/dots/modules/home/users/msyds/emacs";
|
default = "/persist/dots/modules/home/users/msyds/emacs";
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,11 +8,21 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
sydnix.impermanence.directories =
|
sydnix.impermanence.directories =
|
||||||
let xdg-config-home =
|
let
|
||||||
|
xdg-config-home =
|
||||||
lib.removePrefix "${config.home.homeDirectory}"
|
lib.removePrefix "${config.home.homeDirectory}"
|
||||||
(lib.removePrefix "~"
|
(lib.removePrefix "~"
|
||||||
(config.xdg.configHome));
|
(config.xdg.configHome));
|
||||||
in [ "${xdg-config-home}/Mumble" ];
|
xdg-data-home =
|
||||||
|
lib.removePrefix "${config.home.homeDirectory}"
|
||||||
|
(lib.removePrefix "~"
|
||||||
|
(config.xdg.dataHome));
|
||||||
|
in [
|
||||||
|
# Mutable config.
|
||||||
|
"${xdg-config-home}/Mumble"
|
||||||
|
# Persist Mumble's database, plugins, themes, etc.
|
||||||
|
"${xdg-data-home}/Mumble"
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = [ pkgs.mumble ];
|
home.packages = [ pkgs.mumble ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user