mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
helix soft wrap
This commit is contained in:
parent
cb4e730268
commit
f1dca26dd0
1 changed files with 46 additions and 39 deletions
|
|
@ -1,8 +1,14 @@
|
|||
{ config, pkgs, lib, hmLib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
hmLib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
tmuxaiPackageDir = ../pkgs/tmuxai;
|
||||
tmuxai-pkg = pkgs.callPackage tmuxaiPackageDir {};
|
||||
tmuxai-pkg = pkgs.callPackage tmuxaiPackageDir { };
|
||||
in
|
||||
{
|
||||
home.username = "death916";
|
||||
|
|
@ -70,19 +76,22 @@ in
|
|||
enable = true;
|
||||
settings = {
|
||||
theme = "autumn_night_transparent";
|
||||
editor.soft-wrap = true;
|
||||
editor.true-color = true;
|
||||
editor.cursor-shape = {
|
||||
normal = "block";
|
||||
insert = "bar";
|
||||
select = "underline";
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
languages.language = [{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = lib.getExe pkgs.nixfmt-rfc-style;
|
||||
}];
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = lib.getExe pkgs.nixfmt-rfc-style;
|
||||
}
|
||||
];
|
||||
themes = {
|
||||
autumn_night_transparent = {
|
||||
"inherits" = "autumn_night";
|
||||
|
|
@ -108,37 +117,37 @@ in
|
|||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
aws.disabled = true;
|
||||
gcloud.disabled = true;
|
||||
line_break.disabled = true;
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
aws.disabled = true;
|
||||
gcloud.disabled = true;
|
||||
line_break.disabled = true;
|
||||
|
||||
conda = {
|
||||
truncation_length = 1;
|
||||
format = ''[$symbol$environment]($style) '';
|
||||
symbol = " ";
|
||||
style = "green bold";
|
||||
ignore_base = false;
|
||||
disabled = false;
|
||||
conda = {
|
||||
truncation_length = 1;
|
||||
format = ''[$symbol$environment]($style) '';
|
||||
symbol = " ";
|
||||
style = "green bold";
|
||||
ignore_base = false;
|
||||
disabled = false;
|
||||
};
|
||||
|
||||
env_var = {
|
||||
variable = "FLOX_PROMPT_ENVIRONMENTS";
|
||||
format = "[flox:$env_value]($style) ";
|
||||
style = "purple bold";
|
||||
disabled = false;
|
||||
};
|
||||
|
||||
format = ''$directory $git_branch $conda$env_var$cmd_duration$status$character'';
|
||||
};
|
||||
|
||||
env_var = {
|
||||
variable = "FLOX_PROMPT_ENVIRONMENTS";
|
||||
format = "[flox:$env_value]($style) ";
|
||||
style = "purple bold";
|
||||
disabled = false;
|
||||
};
|
||||
|
||||
format = ''$directory $git_branch $conda$env_var$cmd_duration$status$character'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs;
|
||||
};
|
||||
};
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
|
@ -152,13 +161,12 @@ in
|
|||
};
|
||||
};
|
||||
services.gnome-keyring.enable = true;
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode.fhs;
|
||||
};
|
||||
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode.fhs;
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
|
@ -180,4 +188,3 @@ in
|
|||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue