User tweaks

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

3
i3.nix
View File

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