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, ...}: {
imports = [
./zsh
./oh-my-posh.nix
];
home.packages = with pkgs; [
@ -9,7 +10,5 @@
nixd # nix lsp
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 = {
enable = true;
enableCompletion = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
oh-my-zsh = {
enable = true;
};
history.size = 10000;
initContent = {
_type = "order";
content = ''eval "$(oh-my-posh init zsh)"'';
priority = 0;
};
};
}

View file

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

View file

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

View file

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

View file

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