This commit is contained in:
zoe 2023-02-25 20:32:10 +01:00
parent 0dcff5868a
commit a6b3319f4f
3 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
let myConfig = import ./config.nix; let myConfig = import ./config.nix;
in { in
{
package = pkgs.helix; package = pkgs.helix;
enable = true; enable = true;
settings = { theme = "base16_terminal"; }; settings = {
theme = "base16_terminal";
editor = { auto-completion = true; auto-format = true; };
};
} }

View File

@ -5,29 +5,30 @@ let
"*" = { "*" = {
background-color = mkLiteral config.color.background; background-color = mkLiteral config.color.background;
text-color = mkLiteral config.color.foreground; text-color = mkLiteral config.color.foreground;
margin = 0; margin = 0;
padding = 4; padding = 4;
spacing = 4; spacing = 4;
}; };
"window" = { "window" = {
width = mkLiteral "100%"; width = mkLiteral "100%";
height = mkLiteral "100%"; height = mkLiteral "100%";
border = mkLiteral "4px"; border = mkLiteral "4px";
border-color = mkLiteral config.color.green; border-color = mkLiteral config.color.green;
}; };
"element-text" = { "element-text" = {
highlight = mkLiteral "underline ${config.color.green}"; highlight = mkLiteral "underline ${config.color.green}";
}; };
"element selected" = { "element selected" = {
border = mkLiteral "4px"; border = mkLiteral "4px";
border-color = mkLiteral config.color.green; border-color = mkLiteral config.color.green;
}; };
}; };
in { in
{
home-manager.users.zoe.programs.rofi = { home-manager.users.zoe.programs.rofi = {
enable = true; enable = true;
plugins = with pkgs; [ rofi-calc rofi-power-menu ]; plugins = with pkgs; [ rofi-calc rofi-power-menu ];

View File

@ -90,7 +90,7 @@ in
#3d print #3d print
prusa-slicer prusa-slicer
#font #font
fontforge-gtk fontforge-gtk
@ -99,6 +99,7 @@ in
## nix ## nix
any-nix-shell any-nix-shell
nixfmt nixfmt
rnix-lsp
## js ## js
nodejs nodejs
nodePackages.prettier nodePackages.prettier