color + chatterini oauthtempfix

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-15 15:48:20 +02:00
parent 97ff74ed59
commit 1645cf034a
6 changed files with 39 additions and 26 deletions

View File

@@ -61,6 +61,12 @@ lib.mkIf (user != "tv")
gpl = "git pull";
gad = "git add";
gcm = "git commit -m ";
gmr = "git merge";
gin = "git init";
gdf = "git diff";
grs = "git reset";
grh = "git reset --hard";
gch = "git checkout";
gsh = "git stash";
gsp = "git stash pop";
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all";

View File

@@ -1,13 +1,15 @@
{ config, pkgs, rice, ... }:
{ config, pkgs, pkgs-unstable, rice, ... }:
{
home = {
packages = with pkgs; [
helix
nixfmt # nix formater
nil # nix language server
python311Packages.python-lsp-server
];
lldb # debugger for llvm stuff
] ++ (with pkgs-unstable; [
helix
]);
sessionVariables = {
EDITOR = "hx";
VISUAL = "hx";
@@ -15,6 +17,8 @@
};
programs.helix = {
enable = true;
defaultEditor = true;
package = pkgs-unstable.helix;
settings = {
# theme = "base16_terminal";
theme = "base16";
@@ -27,6 +31,9 @@
line-number = "relative";
color-modes = true;
bufferline = "always";
popup-border = "all";
completion-trigger-len = 1;
completion-timeout = 5;
file-picker.hidden = false;
middle-click-paste = false;
cursorline = true;
@@ -199,7 +206,7 @@
"bg" = background;
};
"ui.window" = {
"bg" = background;
"bg" = black.base;
};
};
};

View File

@@ -75,10 +75,10 @@ lib.mkIf (user != "tv")
settings = {
monitor =
if host == "NxXPS" then [
"${monitors.xps.main.name}, ${monitors.xps.main.resolution}, ${monitors.xps.main.position}, ${monitors.xps.main.scale}"
"${monitors.xps.second.name}, ${monitors.xps.second.resolution}, ${monitors.xps.second.position}, ${monitors.xps.second.scale}"
] else if host == "NxNORTH" then [
if host == "NxXPS" then (with monitors.xps; [
"${main.name}, ${main.resolution}, ${main.position}, ${main.scale}"
"${second.name}, ${second.resolution}, ${second.position}, ${second.scale}"
]) else if host == "NxNORTH" then [
"${monitors.north.main.name}, ${monitors.north.main.resolution}, ${monitors.north.main.position}, ${monitors.north.main.scale}"
"${monitors.north.left.name}, ${monitors.north.left.resolution}, ${monitors.north.left.position}, ${monitors.north.left.scale}"
"${monitors.north.right.name}, ${monitors.north.right.resolution}, ${monitors.north.right.position}, ${monitors.north.right.scale}"
@@ -88,9 +88,9 @@ lib.mkIf (user != "tv")
workspace =
let
d1 = if host == "NxXPS" then monitors.xps.main.name else if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main;
d2 = if host == "NxXPS" then monitors.xps.second.name else if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main;
d3 = if host == "NxXPS" then monitors.xps.main.name else if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main;
d1 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main);
d2 = if host == "NxXPS" then monitors.xps.second.name else (if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main);
d3 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main);
compact = "gapsin:0, gapsout:0, bordersize:1, rounding:false";
in
[