97 lines
1.4 KiB
Nix
97 lines
1.4 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/system-update.sh" = {
|
|
source = ../../scripts/system-update.sh;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/home-update.sh" = {
|
|
source = ../../scripts/home-update.sh;
|
|
executable = true;
|
|
};
|
|
|
|
"bin/update.sh" = {
|
|
source = ../../scripts/update.sh;
|
|
executable = true;
|
|
};
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
cargo
|
|
chezmoi
|
|
discord
|
|
element-desktop
|
|
feh
|
|
fzf
|
|
go_1_17
|
|
gopls
|
|
jetbrains.goland
|
|
i3
|
|
i3lock
|
|
i3utils
|
|
iosevka
|
|
lazygit
|
|
nerdfonts
|
|
oh-my-zsh
|
|
pavucontrol
|
|
restic
|
|
rofi
|
|
starship
|
|
xclip
|
|
zettlr
|
|
];
|
|
|
|
keyboard = {
|
|
layout = "gb";
|
|
options = [
|
|
"caps:escape"
|
|
];
|
|
};
|
|
|
|
stateVersion = "21.05";
|
|
};
|
|
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" "fzf" ];
|
|
theme = "agnoster";
|
|
};
|
|
};
|
|
git = {
|
|
enable = true;
|
|
userName = "Daniel Patterson";
|
|
userEmail = "me@danielpatterson.dev";
|
|
};
|
|
|
|
starship.enable = true;
|
|
|
|
vscode.enable = true;
|
|
};
|
|
}
|