mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 09:18:35 +02:00
feat: add more useful packages
This commit is contained in:
@@ -3,18 +3,22 @@
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = ["--enable-features=TouchpadOverscrollHistoryNavigation"];
|
||||
extensions = [
|
||||
# {id = "";} // extension id, query from chrome web store
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
# use wayland version of firefox
|
||||
firefox-wayland
|
||||
];
|
||||
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles.ryan = {};
|
||||
programs = {
|
||||
let commandLineArgs = [ "--enable-wayland-ime" "--ozone-platform=wayland" ];
|
||||
in {
|
||||
chromium = {
|
||||
enable = true;
|
||||
inherit commandLineArgs;
|
||||
};
|
||||
google-chrome = {
|
||||
enable = true;
|
||||
inherit commandLineArgs;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -10,23 +10,74 @@
|
||||
yq-go # https://github.com/mikefarah/yq
|
||||
htop
|
||||
|
||||
## networking tools
|
||||
wireshark
|
||||
wireguard-tools # manage wireguard vpn manually, via wg-quick
|
||||
|
||||
# misc
|
||||
libnotify
|
||||
wineWowPackages.wayland
|
||||
xdg-utils
|
||||
graphviz
|
||||
|
||||
# productivity
|
||||
obsidian
|
||||
hugo
|
||||
|
||||
# IDE
|
||||
insomnia
|
||||
jetbrains.pycharm-community
|
||||
# jetbrains.idea-community
|
||||
|
||||
# cloud native
|
||||
docker-compose
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
terraform
|
||||
pulumi
|
||||
|
||||
# cloud provider
|
||||
awscli
|
||||
|
||||
# python
|
||||
conda
|
||||
|
||||
# C
|
||||
clang-tools
|
||||
clang-analyzer
|
||||
lldb
|
||||
gnumake
|
||||
cmake
|
||||
autoconf
|
||||
automake
|
||||
bison
|
||||
cppcheck
|
||||
fakeroot
|
||||
flex
|
||||
gettext
|
||||
groff
|
||||
libtool
|
||||
m4
|
||||
patch
|
||||
pkgconf
|
||||
texinfo
|
||||
binutils
|
||||
|
||||
|
||||
# Golang
|
||||
delve
|
||||
go
|
||||
go-outline
|
||||
go-tools
|
||||
go2nix
|
||||
gomodifytags
|
||||
gopls
|
||||
gotests
|
||||
impl
|
||||
|
||||
# Rust
|
||||
rustup
|
||||
|
||||
# nodejs
|
||||
nodejs
|
||||
nodePackages.npm
|
||||
nodePackages.pnpm
|
||||
@@ -36,6 +87,10 @@
|
||||
dbeaver
|
||||
mycli
|
||||
pgcli
|
||||
|
||||
# desktop
|
||||
tdesktop
|
||||
discord
|
||||
];
|
||||
|
||||
programs = {
|
||||
@@ -65,6 +120,7 @@
|
||||
jq.enable = true; # A lightweight and flexible command-line JSON processor
|
||||
ssh.enable = true;
|
||||
aria2.enable = true;
|
||||
adb.enable = true;
|
||||
|
||||
skim = {
|
||||
enable = true;
|
||||
@@ -75,6 +131,11 @@
|
||||
"--exact"
|
||||
];
|
||||
};
|
||||
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
@@ -20,7 +20,17 @@
|
||||
viu # terminal image viewer
|
||||
imv # simple image viewer
|
||||
imagemagick
|
||||
deepin.image-editor
|
||||
graphviz
|
||||
|
||||
# creative
|
||||
blender # 3d modeling
|
||||
gimp # image editing
|
||||
inkscape # vector graphics
|
||||
krita # digital painting
|
||||
|
||||
# 3d printing, eletrical engineering
|
||||
kicad
|
||||
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
{
|
||||
|
||||
home.packages = with nixos-cn; [
|
||||
qq
|
||||
wechat-uos
|
||||
netease-cloud-music
|
||||
];
|
||||
|
||||
@@ -43,5 +43,15 @@ in {
|
||||
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
};
|
||||
};
|
||||
|
||||
# https://github.com/flatpak/xdg-desktop-portal
|
||||
# enable wayland wlroots support
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user