some homemager changes

This commit is contained in:
joy 2024-10-14 14:57:24 +02:00
parent 02c7bc10a5
commit 27537529f5
2 changed files with 24 additions and 7 deletions

View file

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.packages = with pkgs; [ environment.packages = with pkgs; [
vim vim
alejandra
hostname hostname
zsh zsh
fish fish
@ -39,24 +40,41 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Zurich";
home-manager.config = { home-manager.config = {
home.stateVersion = "24.05"; home.stateVersion = "24.05";
imports = [ imports = [
../../modules/apps/home/zsh ../../modules/programs/home/git
../../modules/apps/home/git ../../modules/programs/home/helix
../../modules/apps/home/helix ../../modules/programs/home/zsh
../../modules/programs/home/zoxide
]; ];
}; };
user.shell = "${pkgs.zsh}/bin/zsh"; user.shell = "${pkgs.zsh}/bin/zsh";
terminal = { terminal = {
font = "${pkgs.terminus_font_ttf}/share/fonts/truetype/TerminusTTF.ttf";
colors = { colors = {
background = "#282828"; background = "#282828";
foreground = "#fbf1c7"; foreground = "#fbf1c7";
color0 = "#282828";
color1 = "#cc241d";
color2 = "#98971a";
color3 = "#d79921";
color4 = "#458588";
color5 = "#b16286";
color6 = "#689d6a";
color7 = "#a89984";
color8 = "#928374";
color9 = "#fb4934";
color10 = "#b8bb26";
color11 = "#fabd2f";
color12 = "#83a598";
color13 = "#d3869b";
color14 = "#8ec07c";
color15 = "#ebdbb2";
}; };
}; };
} }

View file

@ -1,7 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
enableCompletion = true; enableCompletion = true;
dotDir = ".config/zsh"; dotDir = ".config/zsh";
@ -26,7 +25,7 @@
history.path = ".config/zsh/history"; history.path = ".config/zsh/history";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = ["git" "history-substring-search"]; plugins = ["git" "history-substring-search" "autosuggestion"];
theme = "simple"; theme = "simple";
}; };
}; };