139 lines
2.0 KiB
Nix
139 lines
2.0 KiB
Nix
{ pkgs, fetchurl, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../progs/alacritty
|
|
../progs/i3
|
|
../progs/i3status-rust
|
|
../progs/kitty
|
|
../progs/neovim
|
|
];
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
|
|
services.dunst.enable = true;
|
|
|
|
home = {
|
|
username = "daniel";
|
|
homeDirectory = "/home/daniel";
|
|
sessionVariables = {
|
|
EDITOR = "hx";
|
|
};
|
|
sessionPath = [
|
|
"$HOME/go/bin"
|
|
];
|
|
|
|
file = {
|
|
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
|
|
|
|
".config/helix" = {
|
|
source = ../progs/helix;
|
|
recursive = true;
|
|
};
|
|
|
|
"bin/aupdate" = {
|
|
source = ../../scripts/aupdate;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/bupdate" = {
|
|
source = ../../scripts/bupdate;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/hmupdate" = {
|
|
source = ../../scripts/hmupdate;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/supdate" = {
|
|
source = ../../scripts/supdate;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/update" = {
|
|
source = ../../scripts/update;
|
|
executable = true;
|
|
};
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
_1password
|
|
aerc
|
|
discord
|
|
element-desktop
|
|
entr
|
|
feh
|
|
fzf
|
|
go_1_17
|
|
google-drive-ocamlfuse
|
|
gomuks
|
|
gopls
|
|
helix
|
|
i3
|
|
i3lock
|
|
i3utils
|
|
iosevka
|
|
kakoune
|
|
mpv
|
|
nerdfonts
|
|
oh-my-zsh
|
|
pavucontrol
|
|
playerctl
|
|
python3
|
|
ranger
|
|
restic
|
|
rofi
|
|
spotify
|
|
starship
|
|
xclip
|
|
];
|
|
|
|
keyboard = {
|
|
layout = "gb";
|
|
options = [
|
|
"caps:escape"
|
|
];
|
|
};
|
|
|
|
stateVersion = "21.05";
|
|
};
|
|
|
|
programs = {
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "Daniel Patterson";
|
|
userEmail = "me@danielpatterson.dev";
|
|
extraConfig = {
|
|
pull.rebase = true;
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
|
|
lazygit = {
|
|
enable = true;
|
|
settings = {
|
|
gui = {
|
|
showFileTree = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
starship.enable = true;
|
|
|
|
vscode.enable = true;
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" "fzf" ];
|
|
theme = "agnoster";
|
|
};
|
|
};
|
|
};
|
|
}
|