ohmyposh
This commit is contained in:
parent
658a42659c
commit
fa905d2cb6
7 changed files with 21 additions and 14 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
6
home-manager/luna/categories/cli/oh-my-posh.nix
Normal file
6
home-manager/luna/categories/cli/oh-my-posh.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
useTheme = "catppuccin";
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
./locales.nix
|
||||
./nix.nix
|
||||
./nix-ld.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
5
hosts/common/global/zsh.nix
Normal file
5
hosts/common/global/zsh.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
users.users.luna = {
|
||||
isNormalUser = true;
|
||||
description = "luna";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue