Configured helix nix formatter
This commit is contained in:
parent
3f8bd4cb7e
commit
394e6fa46d
3 changed files with 10 additions and 15 deletions
|
|
@ -166,8 +166,7 @@
|
|||
};
|
||||
|
||||
devShells = {
|
||||
"x86_64-linux".default = nixpkgs.legacyPackages."x86_64-linux".mkShell {
|
||||
packages = with nixpkgs.legacyPackages."x86_64-linux"; [ nil nixfmt ];
|
||||
"x86_64-linux".default = nixpkgs.legacyPackages."x86_64-linux".mkShell { packages = with nixpkgs.legacyPackages."x86_64-linux"; [ nil nixfmt ];
|
||||
};
|
||||
"aarch64-linux".default =
|
||||
nixpkgs.legacyPackages."aarch64-linux".mkShell {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
mangohud
|
||||
mpv
|
||||
nextcloud-client
|
||||
nixfmt
|
||||
nix-init
|
||||
obs-studio
|
||||
p7zip
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
cursor-shape.insert = "bar";
|
||||
mouse = false;
|
||||
soft-wrap.enable = true;
|
||||
auto-format = true;
|
||||
};
|
||||
keys.normal.space = {
|
||||
space = "file_picker";
|
||||
|
|
@ -31,6 +32,13 @@
|
|||
esc = [ "collapse_selection" "keep_primary_selection" ];
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
language = [{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = "nixfmt";
|
||||
}];
|
||||
};
|
||||
themes.catppuccin-mocha_transparent = {
|
||||
inherits = "catppuccin_mocha";
|
||||
"ui.background" = "{}";
|
||||
|
|
@ -150,24 +158,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
micro = {
|
||||
enable = true;
|
||||
settings = {
|
||||
clipboard = "terminal";
|
||||
mkparents = true;
|
||||
scrollbar = true;
|
||||
tabstospaces = true;
|
||||
tabsize = 2;
|
||||
colorscheme = "simple";
|
||||
};
|
||||
};
|
||||
|
||||
fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "nix-your-shell fish | source";
|
||||
loginShellInit = "nix-your-shell fish | source";
|
||||
shellAliases = {
|
||||
wget = ''wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'';
|
||||
h = "hx";
|
||||
};
|
||||
functions = {
|
||||
fish_greeting = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue