Try to add common or something idk

This commit is contained in:
2021-10-19 22:58:13 +01:00
parent 31667f737f
commit e141c761cd
10 changed files with 575 additions and 0 deletions

72
user/miniding/home.nix Normal file
View File

@@ -0,0 +1,72 @@
{ pkgs, ... }:
{
imports = [
../common/i3
../common/polybar
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.username = "daniel";
home.homeDirectory = "/home/daniel";
home.file.".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
xsession.enable = true;
services.dunst.enable = true;
home.packages = with pkgs;
[
(import ../common/i3utils)
alacritty
chezmoi
element-desktop
feh
fzf
go_1_17
i3
i3lock
lazygit
nerdfonts
oh-my-zsh
pavucontrol
restic
rofi
starship
xclip
];
home.keyboard = {
layout = "gb";
options = [
"caps:escape"
];
};
programs = {
zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "fzf" ];
theme = "agnoster";
};
};
};
programs.git = {
enable = true;
userName = "Daniel Patterson";
userEmail = "me@danielpatterson.dev";
};
programs.starship.enable = true;
programs.neovim.enable = true;
programs.neovim.viAlias = true;
programs.neovim.vimAlias = true;
home.stateVersion = "21.05";
}