mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
nix: add initial home.nix changes for nixos
This commit is contained in:
1
.config/nixpkgs/config.nix
Normal file
1
.config/nixpkgs/config.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ allowUnfree = true; }
|
@@ -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";
|
||||
};
|
||||
|
8
.config/nixpkgs/overlays/zoom.nix
Normal file
8
.config/nixpkgs/overlays/zoom.nix
Normal 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
|
||||
'';});
|
||||
}
|
Reference in New Issue
Block a user