ohmyposh
This commit is contained in:
parent
658a42659c
commit
fa905d2cb6
7 changed files with 21 additions and 14 deletions
|
|
@ -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
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
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 = {
|
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
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 = {
|
users.users.luna = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "luna";
|
description = "luna";
|
||||||
|
shell = pkgs.zsh;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue