mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +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";
|
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";
|
||||||
};
|
};
|
||||||
|
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