Compare commits
3 commits
8dd37a8833
...
b24d299f70
| Author | SHA1 | Date | |
|---|---|---|---|
| b24d299f70 | |||
| f06e99d95b | |||
| 3fb758028c |
3 changed files with 10 additions and 6 deletions
|
|
@ -26,7 +26,14 @@ in
|
|||
gdb
|
||||
];
|
||||
|
||||
xdg.configFile."gdb/gdbinit".source = ./gdbinit;
|
||||
xdg = {
|
||||
configFile."gdb/gdbinit".source = ./gdbinit;
|
||||
dataFile. "gdb/.keep".text = "";
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
GDBHISTFILE = "${config.xdg.dataHome}/gdb/gdb_history";
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf cfg.rr.enable {
|
||||
|
|
|
|||
|
|
@ -31,11 +31,9 @@ null_ls.register({
|
|||
-- Nix
|
||||
null_ls.register({
|
||||
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
||||
-- Only used if available, but prefer rnix if available
|
||||
-- Only used if available, but prefer LSP if available
|
||||
condition = function()
|
||||
return utils.is_executable("nixpkgs-fmt")
|
||||
and not utils.is_executable("rnix-lsp")
|
||||
and not utils.is_executable("nil")
|
||||
return utils.is_executable("nixpkgs-fmt") and not utils.is_executable("nil")
|
||||
end,
|
||||
}),
|
||||
})
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ in
|
|||
ANDROID_USER_HOME = "${configHome}/android";
|
||||
CARGO_HOME = "${dataHome}/cargo";
|
||||
DOCKER_CONFIG = "${configHome}/docker";
|
||||
GDBHISTFILE = "${dataHome}/gdb/gdb_history";
|
||||
GRADLE_USER_HOME = "${dataHome}/gradle";
|
||||
HISTFILE = "${dataHome}/bash/history";
|
||||
INPUTRC = "${configHome}/readline/inputrc";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue