feat: add zsh, kitty, and starship to user
This commit is contained in:
parent
b57b00ff24
commit
91e6ca0b4d
1 changed files with 64 additions and 0 deletions
|
@ -1,8 +1,71 @@
|
||||||
{ config, self, lib, pkgs, ... }: {
|
{ config, self, lib, pkgs, ... }: {
|
||||||
home-manager.users.infinidoge = { suites, ... }: {
|
home-manager.users.infinidoge = { suites, ... }: {
|
||||||
imports = suites.base;
|
imports = suites.base;
|
||||||
|
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
|
||||||
|
settings = { };
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font.package = (pkgs.nerdfonts.override { fonts = [ "DejaVuSansMono" ]; });
|
||||||
|
font.name = "DejaVuSansMono";
|
||||||
|
font.size = 16;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
enableCompletion = true;
|
||||||
|
# enableSyntaxHighlighting = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
|
||||||
|
dotDir = ".config/zsh";
|
||||||
|
|
||||||
|
history.path = "$ZDOTDIR/.zsh_history";
|
||||||
|
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
# Display
|
||||||
|
"colorize"
|
||||||
|
"colored-man-pages"
|
||||||
|
|
||||||
|
# zsh modifications
|
||||||
|
"zsh-interactive-cd"
|
||||||
|
"zsh_reload"
|
||||||
|
"command-not-found"
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
"alias-finder"
|
||||||
|
|
||||||
|
# Applications
|
||||||
|
## Docker
|
||||||
|
"docker"
|
||||||
|
## Python
|
||||||
|
"pip"
|
||||||
|
"python"
|
||||||
|
## Systemd
|
||||||
|
"systemd"
|
||||||
|
## Git
|
||||||
|
"git"
|
||||||
|
"github"
|
||||||
|
"gitignore"
|
||||||
|
## Emacs
|
||||||
|
"emacs"
|
||||||
|
## Vim
|
||||||
|
"fancy-ctrl-z"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
|
||||||
users.users.infinidoge = {
|
users.users.infinidoge = {
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
hashedPassword =
|
hashedPassword =
|
||||||
|
@ -10,5 +73,6 @@
|
||||||
description = "Infinidoge";
|
description = "Infinidoge";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue