nix: add initial home.nix changes for nixos

This commit is contained in:
Dave Gallant
2021-01-09 17:21:04 -05:00
parent 66accc159c
commit 89b4c830eb
3 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1 @@
{ allowUnfree = true; }

View File

@@ -7,12 +7,12 @@
EDITOR = "vim"; EDITOR = "vim";
}; };
packages = with pkgs; [ packages = with pkgs; [
alacritty
asciinema asciinema
audio-recorder audio-recorder
bandwhich bandwhich
bat bat
bind bind
brave
clipmenu clipmenu
colordiff colordiff
curl curl
@@ -39,8 +39,6 @@
imagemagick imagemagick
jdk8 jdk8
jq jq
kubectl
kubernetes-helm
libreoffice libreoffice
maven maven
nmap nmap
@@ -71,10 +69,29 @@
zathura zathura
zip zip
# encryption
cryptsetup
# browser
brave
firefox
# Docker
docker
# k8s
kubectl
kubernetes-helm
# nix # nix
nixpkgs-fmt nixpkgs-fmt
rnix-lsp rnix-lsp
# games
steam
minecraft
yuzu
# communication # communication
discord discord
element-desktop element-desktop
@@ -108,6 +125,7 @@
# overlays # overlays
rfd rfd
lpass lpass
zoom
]; ];
}; };
@@ -124,7 +142,6 @@
}; };
}; };
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
programs = { programs = {
@@ -169,7 +186,7 @@
shellAliases = { shellAliases = {
ls = "exa -la --git"; ls = "exa -la --git";
".." = "cd .."; ".." = "cd ..";
config = "/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"; config = "git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME";
grep = "grep --color=auto --line-buffered"; grep = "grep --color=auto --line-buffered";
k = "kubectl"; k = "kubectl";
}; };

View File

@@ -0,0 +1,8 @@
self: super:
rec {
zoom = super.pkgs.zoom-us.overrideAttrs (old: {
postFixup = old.postFixup + ''
wrapProgram $out/bin/zoom-us --unset XDG_SESSION_TYPE
'';});
}