Files
nixcfg/user/daniel/home.nix
2021-11-19 02:05:48 +00:00

108 lines
1.5 KiB
Nix

{ pkgs, ... }:
{
imports = [
../progs/alacritty
../progs/i3
../progs/neovim
../progs/polybar
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
services.dunst.enable = true;
home = {
username = "daniel";
homeDirectory = "/home/daniel";
sessionVariables = {
EDITOR = "vim";
};
file = {
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
"bin/supdate" = {
source = ../../scripts/supdate;
executable = true;
};
"bin/hmupdate" = {
source = ../../scripts/hmupdate;
executable = true;
};
"bin/update" = {
source = ../../scripts/update;
executable = true;
};
};
packages = with pkgs; [
chezmoi
discord
element-desktop
feh
fzf
go_1_17
gopls
i3
i3lock
i3utils
iosevka
nerdfonts
oh-my-zsh
pavucontrol
restic
rofi
starship
xclip
zettlr
];
keyboard = {
layout = "gb";
options = [
"caps:escape"
];
};
stateVersion = "21.05";
};
programs = {
git = {
enable = true;
userName = "Daniel Patterson";
userEmail = "me@danielpatterson.dev";
extraConfig = {
pull.rebase = true;
};
};
lazygit = {
enable = true;
settings = {
gui = {
showFileTree = false;
};
};
};
starship.enable = true;
vscode.enable = true;
zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "fzf" ];
theme = "agnoster";
};
};
};
}