fill out murex a bit, cosmic fixes
This commit is contained in:
parent
a4ce7db9c9
commit
67702255a2
19 changed files with 426 additions and 81 deletions
|
@ -24,6 +24,7 @@ in {
|
|||
type = types.str;
|
||||
default = "";
|
||||
};
|
||||
useXdgConfig = mkEnableOption "override MUREX_{PRELOAD,MODULES,PROFILE} env vars to conform to XDG_CONFIG_HOME";
|
||||
};
|
||||
config = {
|
||||
home.file =
|
||||
|
@ -47,7 +48,7 @@ in {
|
|||
".murex_modules/packages.json" = {
|
||||
text = builtins.toJSON (map (plugin: {
|
||||
Protocol = "nix";
|
||||
URI = "https://none.thanks/managed.git";
|
||||
URI = "nix://managed.git";
|
||||
Package = plugin.pname;
|
||||
})
|
||||
cfg.plugins);
|
||||
|
@ -62,5 +63,10 @@ in {
|
|||
};
|
||||
})
|
||||
cfg.plugins)));
|
||||
home.sessionVariables = mkIf cfg.useXdgConfig {
|
||||
MUREX_PRELOAD = "$XDG_CONFIG_HOME/murex/";
|
||||
MUREX_MODULES = "$XDG_CONFIG_HOME/murex/";
|
||||
MUREX_PROFILE = "$XDG_CONFIG_HOME/murex/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue