Add dingbox config and fix i3utils
This commit is contained in:
@@ -2,13 +2,13 @@ with import <nixpkgs> {};
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "i3utils";
|
||||
version = "0.0.1";
|
||||
version = "v0.0.1";
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~dpatterbee";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
sha256 = "01wqlf66y172idq1850nby7nmb4075sryis899ldzpk1jakc5b3f";
|
||||
sha256 = "1h97131558nklhi3f2a3jl9np2n8y1irh088jc5iry63zpsfx2qm";
|
||||
};
|
||||
|
||||
vendorSha256 = "0pnd89iqdj3f719xf4iy5r04n51d0rrrf0qb2zjirpw7vh7g82i9";
|
||||
vendorSha256 = "1lzr4ga58aa35z0vkpw8jldplvg174q49nqqpdv0vz0aj3m585nq";
|
||||
}
|
||||
|
||||
72
user/dingbox/home.nix
Normal file
72
user/dingbox/home.nix
Normal 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";
|
||||
}
|
||||
Reference in New Issue
Block a user