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";
};
packages = with pkgs; [
alacritty
asciinema
audio-recorder
bandwhich
bat
bind
brave
clipmenu
colordiff
curl
@@ -39,8 +39,6 @@
imagemagick
jdk8
jq
kubectl
kubernetes-helm
libreoffice
maven
nmap
@@ -71,10 +69,29 @@
zathura
zip
# encryption
cryptsetup
# browser
brave
firefox
# Docker
docker
# k8s
kubectl
kubernetes-helm
# nix
nixpkgs-fmt
rnix-lsp
# games
steam
minecraft
yuzu
# communication
discord
element-desktop
@@ -108,6 +125,7 @@
# overlays
rfd
lpass
zoom
];
};
@@ -124,7 +142,6 @@
};
};
fonts.fontconfig.enable = true;
programs = {
@@ -169,7 +186,7 @@
shellAliases = {
ls = "exa -la --git";
".." = "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";
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
'';});
}