Move dingbox to daniel and create progs dir

This commit is contained in:
2021-11-08 22:37:37 +00:00
parent fe8a32d7b6
commit 4ecc51c673
9 changed files with 11 additions and 86 deletions

13
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1635839387, "lastModified": 1636044164,
"narHash": "sha256-2B6DqfTiwY5w2TljC4+AxEUuVYMTP5Fo2h5iGNIONvk=", "narHash": "sha256-RI9QjS8NBrfVTp6dzmcEVKNNjxYGBf26+/7ihDA/USc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "288faaa5a65e72e37e6027024829b15c8bb69286", "rev": "70c5b268e10025c70823767f4fb49e240b40151d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -26,11 +26,8 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1635994901, "lastModified": 1636132244,
"narHash": "sha256-Ghok2ROCcBOvMA1TVO6LLfvzLqP6wXgVuIGK9OTDx7A=", "narHash": "sha256-uIfXaXszC0YSgEjPWE97o/JR4WS5bqJ8BcrKYz9ex4Y=",
"ref": "flaketest",
"rev": "a0fae18689d3f1f0ec8741ab03cc07bd3a769b9a",
"revCount": 9,
"type": "git", "type": "git",
"url": "file:///home/daniel/go/src/i3utils" "url": "file:///home/daniel/go/src/i3utils"
}, },

View File

@@ -44,7 +44,7 @@
homeDirectory = "/home/daniel"; homeDirectory = "/home/daniel";
configuration = { configuration = {
imports = [ imports = [
./user/dingbox/home.nix ./user/daniel/home.nix
({ pkgs, ... }: { ({ pkgs, ... }: {
nixpkgs.overlays = [ i3utils.overlay ]; nixpkgs.overlays = [ i3utils.overlay ];
}) })

View File

@@ -2,10 +2,10 @@
{ {
imports = [ imports = [
../alacritty ../progs/alacritty
../i3 ../progs/i3
../neovim ../progs/neovim
../polybar ../progs/polybar
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.

View File

@@ -1,72 +0,0 @@
{ pkgs, ... }:
{
imports = [
../i3
../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";
}