84 lines
1.8 KiB
Nix
84 lines
1.8 KiB
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
home.username = "sam";
|
||
|
home.homeDirectory = "/home/sam";
|
||
|
home.stateVersion = "23.11";
|
||
|
home.packages = [
|
||
|
pkgs.firefox
|
||
|
pkgs.neovim
|
||
|
pkgs.kitty
|
||
|
pkgs.zathura
|
||
|
pkgs.xfce.thunar
|
||
|
];
|
||
|
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
enableCompletion = true;
|
||
|
autosuggestion.enable = true;
|
||
|
syntaxHighlighting.enable = true;
|
||
|
|
||
|
shellAliases = {
|
||
|
ll = "ls -l";
|
||
|
update = "sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#workmachine";
|
||
|
nix-home = "nvim $HOME/nixos/hosts/workmachine/home.nix";
|
||
|
nix-conf = "nvim $HOME/nixos/hosts/workmachine/configuration.nix";
|
||
|
};
|
||
|
history.size = 10000;
|
||
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
||
|
|
||
|
initExtra = ''
|
||
|
bindkey -v
|
||
|
bindkey "^H" backward-delete-char
|
||
|
bindkey "^?" backward-delete-char
|
||
|
set -o vi
|
||
|
export TERM=xterm
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
|
||
|
home.file = {
|
||
|
".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||
|
};
|
||
|
|
||
|
home.sessionPath = [
|
||
|
"$HOME/.scripts/"
|
||
|
];
|
||
|
|
||
|
gtk.enable = true;
|
||
|
|
||
|
gtk.cursorTheme.package = pkgs.bibata-cursors;
|
||
|
gtk.cursorTheme.name = "Bibata-Modern-Ice";
|
||
|
|
||
|
gtk.theme.package = pkgs.gruvbox-gtk-theme;
|
||
|
gtk.theme.name = "Gruvbox-Dark-B";
|
||
|
|
||
|
gtk.iconTheme.package = pkgs.gruvbox-plus-icons;
|
||
|
gtk.iconTheme.name = "GruvboxPlus";
|
||
|
|
||
|
qt.enable = true;
|
||
|
qt.platformTheme.name = "gtk";
|
||
|
qt.style.name = "adwaita-dark";
|
||
|
qt.style.package = pkgs.adwaita-qt;
|
||
|
|
||
|
programs.git = {
|
||
|
enable=true;
|
||
|
extraConfig= {
|
||
|
pull.rebase = false;
|
||
|
};
|
||
|
userEmail="samual.shop@proton.me";
|
||
|
userName="sam";
|
||
|
};
|
||
|
|
||
|
home.sessionVariables = {
|
||
|
EDITOR="nvim";
|
||
|
MUSIC="$HOME/mus/music_data/";
|
||
|
TERMINAL="kitty";
|
||
|
READER="zathura";
|
||
|
IMAGE_VIEWER="";
|
||
|
IMAGE_EDITOR="";
|
||
|
};
|
||
|
|
||
|
programs.home-manager.enable = true;
|
||
|
}
|