rizin reads configuration from both $HOME/.rizinrc and from $XDG_CONFIG_HOME/rizin/rizinrc and the module now uses the relevant options for choosing between them.
17 lines
270 B
Nix
17 lines
270 B
Nix
{
|
|
xdg.enable = true;
|
|
|
|
home.preferXdgDirectories = true;
|
|
|
|
programs.rizin = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
e asm.bytes=true
|
|
e asm.bytes.space=true
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists "home-files/.config/rizin/rizinrc"
|
|
'';
|
|
}
|