This commit is contained in:
LunarAkai 2025-03-15 18:24:06 +01:00
commit fa905d2cb6
7 changed files with 21 additions and 14 deletions

View file

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./zsh ./zsh
./oh-my-posh.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -9,7 +10,5 @@
nixd # nix lsp nixd # nix lsp
alejandra # formatter alejandra # formatter
oh-my-posh
]; ];
} }

View file

@ -0,0 +1,6 @@
{
programs.oh-my-posh = {
enable = true;
useTheme = "catppuccin";
};
}

View file

@ -1,16 +1,13 @@
{...}: { {...}: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
}; };
history.size = 10000; history.size = 10000;
initContent = {
_type = "order";
content = ''eval "$(oh-my-posh init zsh)"'';
priority = 0;
};
}; };
} }

View file

@ -1,8 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
fonts = { home.packages = with pkgs; [
packages = with pkgs; [ nerd-fonts.jetbrains-mono
(nerd-fonts.override {fonts = ["JetBrains Mono"];}) ];
jetbrains-mono fonts.fontconfig.enable = true;
];
};
} }

View file

@ -8,6 +8,7 @@
./locales.nix ./locales.nix
./nix.nix ./nix.nix
./nix-ld.nix ./nix-ld.nix
./zsh.nix
]; ];
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;

View file

@ -0,0 +1,5 @@
{
programs.zsh = {
enable = true;
};
}

View file

@ -7,6 +7,7 @@
users.users.luna = { users.users.luna = {
isNormalUser = true; isNormalUser = true;
description = "luna"; description = "luna";
shell = pkgs.zsh;
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"