[nix] Redo and restructure the entire config

Thanks @KaitlynEthylia :)
This commit is contained in:
Alyxia Sother 2024-07-11 19:07:47 +02:00
parent 19b92cd8fd
commit 2daf5f1b05
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4
13 changed files with 378 additions and 302 deletions

93
nix/home/packages.nix Normal file
View file

@ -0,0 +1,93 @@
{ pkgs, ... }:
let
packageSets = with pkgs; {
system = [
gnutls
gsasl
libtool
patchelf
pcre
pkg-config
];
base = [
act
bat
bitwarden-cli
cloudflared
delta
eza
ffmpeg
fzf
gh
git-crypt
gitui
gnupg
jq
kubectl
kubelogin-oidc
mosh
nixpkgs-fmt
pandoc
ripgrep
sops
stylua
texlive.combined.scheme-small
typst
vim
wget
# Fyra
glib-networking
meson
ninja
vala
desktop-file-utils
];
languages = [
crystal
dhall
dhall-json
dhall-lsp-server
go
jdk
kotlin
kotlin-language-server
lua-language-server
nil
nodejs_20
python2
ruby_3_1
sbcl
shards
zig
];
programs = [
rectangle
tailscale
];
multimedia = [
ffmpeg
];
fonts = [
nerdfonts
ibm-plex
];
python = with python311Packages; [
colorama
psutil
distro
];
};
everything = builtins.concatLists (builtins.attrValues packageSets);
in
{
home.packages = everything;
}