meta: Merge packages module into existing modules

This commit is contained in:
Donovan Glover 2024-04-06 11:35:34 -04:00
parent b4af703fdf
commit 7649c658b7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
6 changed files with 39 additions and 60 deletions

View File

@ -1,6 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
let let
inherit (pkgs) polkit_gnome;
opacity = "0.95"; opacity = "0.95";
super = "SUPER"; super = "SUPER";
@ -32,6 +34,7 @@ in
activate-linux activate-linux
wl-clipboard-rs wl-clipboard-rs
wf-recorder wf-recorder
lutgen
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {

View File

@ -21,27 +21,23 @@ in
programs.bat.enable = true; programs.bat.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# c
gcc gcc
clang-tools clang-tools
pkg-config pkg-config
gnumake gnumake
cmake cmake
# go
go go
gopls gopls
# nix
nil nil
nixpkgs-fmt nixpkgs-fmt
nixfmt-rfc-style nixfmt-rfc-style
# crystal
crystal crystal
crystalline
shards shards
# node/yarn/deno/bun
nodejs nodejs
nodePackages.npm nodePackages.npm
yarn yarn
@ -52,10 +48,12 @@ in
nodePackages."@astrojs/language-server" nodePackages."@astrojs/language-server"
nodePackages."@prisma/language-server" nodePackages."@prisma/language-server"
nodePackages.pnpm nodePackages.pnpm
nodePackages.prisma
openssl
pnpm-shell-completion
tailwindcss-language-server tailwindcss-language-server
vscode-langservers-extracted vscode-langservers-extracted
# rust
rustc rustc
rustfmt rustfmt
cargo cargo
@ -68,30 +66,26 @@ in
bacon bacon
clippy clippy
# markdown
marksman marksman
# lua
lua-language-server lua-language-server
# tex/typst
texlive.combined.scheme-full texlive.combined.scheme-full
texlab texlab
tectonic
typst typst
typstfmt typstfmt
typst-lsp typst-lsp
typst-live typst-live
# ctags
universal-ctags universal-ctags
# emmet
emmet-language-server emmet-language-server
# sql
sqlite sqlite
sqlcipher
litecli
# docker
dockerfile-language-server-nodejs dockerfile-language-server-nodejs
docker-compose-language-service docker-compose-language-service
]; ];

View File

@ -1,4 +1,4 @@
{ nix-config, pkgs, config, lib, ... }: { nix-config, sakaya, pkgs, config, lib, ... }:
let let
inherit (lib) mkEnableOption mkIf mkMerge; inherit (lib) mkEnableOption mkIf mkMerge;
@ -82,6 +82,7 @@ in
environment.systemPackages = mkMerge [ environment.systemPackages = mkMerge [
(mkIf japanese (attrValues { (mkIf japanese (attrValues {
inherit (pkgs) anki kanjidraw; inherit (pkgs) anki kanjidraw;
inherit (sakaya.packages.${pkgs.system}) sakaya;
})) }))
(mkIf bloat (attrValues { (mkIf bloat (attrValues {
@ -103,6 +104,7 @@ in
satty satty
aaaaxy aaaaxy
srb2 srb2
jamesdsp
; ;
})) }))

View File

@ -1,46 +0,0 @@
{ pkgs, sakaya, ... }:
{
environment.systemPackages = with pkgs; [
osu-lazer-bin
(pass.withExtensions (ext: with ext; [ pass-otp ]))
pass
jamesdsp
zbar
sakaya.packages.${system}.sakaya
sqlcipher
jpegoptim
recode
rmlint
smartmontools
restic
watchexec
ventoy
nodePackages.prisma
openssl
zola
tectonic
pipe-rename
poppler_utils
crystalline
tango
nvd
nix-init
diesel-cli
litecli
lychee
nix-search-cli
lutgen
sudachi-rs
pnpm-shell-completion
];
nixpkgs.config.allowUnfree = true;
environment.defaultPackages = [ ];
}

View File

@ -57,6 +57,16 @@ in
hwinfo hwinfo
stress stress
hdparm hdparm
recode
rmlint
jpegoptim
watchexec
zola
pass
;
inherit (pkgs)
sudachi-rs
tango
; ;
inherit (pkgs) inherit (pkgs)
neofetch neofetch
@ -82,7 +92,17 @@ in
rclone rclone
ffmpeg ffmpeg
imagemagick imagemagick
smartmontools
restic
zbar
lychee
ventoy
;
inherit (pkgs)
nixpkgs-review nixpkgs-review
nix-init
nvd
nix-search-cli
; ;
}) })

View File

@ -213,5 +213,11 @@ in
"/share/eww" "/share/eww"
"/share/fonts" "/share/fonts"
]; ];
environment.systemPackages = with pkgs; [
(pass.withExtensions (ext: with ext; [ pass-otp ]))
];
environment.defaultPackages = [ ];
}; };
} }