User tweaks

work
Matthew Ess 2020-01-03 01:06:04 -05:00
parent 120bcc56e0
commit 9039641929
2 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,10 @@ let
email = "daringseal@gmail.com"; email = "daringseal@gmail.com";
workEmail = "mess@yelp.com"; workEmail = "mess@yelp.com";
lockCmd = "i3lock -i ~/.lockscreen-image"; lockCmd = "i3lock -i ~/.lockscreen-image";
niv = import (builtins.fetchTarball {
url = "https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7";
sha256 = "0b38n1ad00s1qqyw3ml3pypf8i1pw4aqw0bpa02qq9iv7sp3x0gz";
}) { };
in { in {
home = { home = {
@ -15,6 +19,8 @@ in {
}; };
packages = with pkgs; [ packages = with pkgs; [
# nix utilities # nix utilities
cachix
niv.niv
nixfmt nixfmt
nix-prefetch-git nix-prefetch-git
# command line utilities # command line utilities
@ -22,17 +28,21 @@ in {
jq jq
tldr tldr
imagemagick imagemagick
# command line applications
weechat
# graphical applications # graphical applications
alacritty alacritty
atom atom
enpass enpass
firefox firefox
steam
# graphical utilities # graphical utilities
clipmenu clipmenu
clipnotify clipnotify
dmenu dmenu
i3lock i3lock
rofi rofi
xclip
]; ];
file = { file = {
".background-image".source = ./assets/background-image; ".background-image".source = ./assets/background-image;
@ -158,6 +168,8 @@ in {
alias sys="sudo systemctl" alias sys="sudo systemctl"
alias rebuild="sudo nixos-rebuild switch" alias rebuild="sudo nixos-rebuild switch"
alias upgrade="sudo nixos-rebuild switch --upgrade" alias upgrade="sudo nixos-rebuild switch --upgrade"
alias clip="xclip -selection c"
alias cxuse="sudo cachix use -d ~/dotfiles.nix"
''; '';
}; };
git = { git = {
@ -188,6 +200,7 @@ in {
nerdtree nerdtree
nerdtree-git-plugin nerdtree-git-plugin
vim-colorschemes vim-colorschemes
vim-nix
lightline-vim lightline-vim
]; ];
extraConfig = '' extraConfig = ''

3
i3.nix
View File

@ -4,6 +4,8 @@
assigns = { assigns = {
"1: web" = [{ class = "Firefox"; }]; "1: web" = [{ class = "Firefox"; }];
"2: devel" = [ { class = "Alacritty"; } { class = "Atom"; } ]; "2: devel" = [ { class = "Alacritty"; } { class = "Atom"; } ];
"3: admin" = [{ class = "Enpass"; }];
"4: other" = [{ class = ".*"; }];
}; };
fonts = [ "Fira Code" "FontAwesome 12" ]; fonts = [ "Fira Code" "FontAwesome 12" ];
colors = { colors = {
@ -105,5 +107,6 @@
exec --no-startup-id atom exec --no-startup-id atom
exec --no-startup-id alacritty exec --no-startup-id alacritty
for_window [class="Firefox"] focus for_window [class="Firefox"] focus
exec --no-startup-id Enpass
''; '';
} }