dotfiles/home-manager/modules/packages.nix

125 lines
2.9 KiB
Nix
Raw Normal View History

2023-10-28 23:51:26 +02:00
{ config, pkgs, lib, inputs, ... }:
2023-08-21 02:24:55 +02:00
with lib;
2023-10-28 00:21:38 +02:00
{
2023-08-21 02:24:55 +02:00
config = {
2023-09-11 00:37:23 +02:00
nixpkgs.overlays = [
(final: prev: {
quickemu = prev.quickemu.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
2023-09-11 00:37:23 +02:00
./../patches/quickemu.patch
];
});
})
];
2023-08-21 02:24:55 +02:00
home.packages = with pkgs; [
up
rbenv
cargo-update
htop
2024-01-10 21:04:28 +01:00
rustc
2023-08-21 02:24:55 +02:00
nixfmt
nodejs
bun
deno
devbox
tldr
flutter
nurl
hcloud
tea
dgraph
nix-init
nodePackages.nodemon
pocketbase
# surrealdb
thefuck
hub
httpie
manix
(pkgs.writeShellScriptBin "ssh-fix-permissions"
(builtins.readFile ./../scripts/ssh-fix-permissions.sh))
(pkgs.writeShellScriptBin "yt-dlp-audio"
(builtins.readFile ./../scripts/yt-dlp-audio.sh))
(pkgs.writeShellScriptBin "nix-shell-init"
(builtins.readFile ./../scripts/nix-shell-init.sh))
(pkgs.writeShellScriptBin "http-server" ''
${pkgs.caddy}/bin/caddy file-server --listen :2345
'')
2023-09-11 01:28:30 +02:00
(pkgs.writeShellScriptBin "nix-build-default" ''
nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
'')
2023-08-21 02:24:55 +02:00
(callPackage ./../pkgs/docker-craft-cms-dev-env.nix {
inherit lib;
})
2023-10-04 01:59:47 +02:00
(callPackage ./../pkgs/toggl-time-grouper/package.nix {
inherit lib;
})
2023-08-21 02:24:55 +02:00
nixpkgs-fmt
toolbox
distrobox
ddev
act
2023-09-11 00:37:23 +02:00
mkcert
2023-09-19 20:53:08 +02:00
pulumi
kubectl
pulumiPackages.pulumi-language-nodejs
ncdu
2023-10-28 23:51:26 +02:00
inputs.devenv.packages.x86_64-linux.devenv
2023-11-07 02:55:10 +01:00
inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update
2023-11-20 19:01:47 +01:00
unzip
2023-11-24 20:47:56 +01:00
gh
nil
nixd
2023-08-21 02:24:55 +02:00
] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
})
# anki
2023-08-21 02:24:55 +02:00
corefonts
vistafonts
jetbrains.webstorm
2023-11-16 19:19:04 +01:00
jetbrains.phpstorm
2023-08-21 02:24:55 +02:00
element-desktop
ludusavi
dbeaver
insomnia
onlyoffice-bin
spotify
2024-01-12 13:52:54 +01:00
vesktop
2023-08-21 02:24:55 +02:00
(lutris.override {
2023-10-28 00:21:38 +02:00
extraLibraries = pkgs: [
gnome3.adwaita-icon-theme
2023-10-28 00:21:38 +02:00
];
2023-08-21 02:24:55 +02:00
extraPkgs = pkgs: [
wineWowPackages.full
winetricks
gnome3.adwaita-icon-theme
2023-08-21 02:24:55 +02:00
];
})
2023-10-28 00:21:38 +02:00
bottles
protontricks
heroic
2023-11-19 14:47:27 +01:00
(vscode.fhsWithPackages (ps: with ps; [ sqlite ]))
2023-08-22 21:52:42 +02:00
quickemu
quickgui
2023-09-19 20:53:08 +02:00
trilium-desktop
2023-10-04 02:09:37 +02:00
anki
2023-10-28 23:51:26 +02:00
inputs.nix-software-center.packages.x86_64-linux.nix-software-center
2023-10-30 23:12:09 +01:00
jetbrains-toolbox
mumble
2024-01-23 02:13:56 +01:00
prusa-slicer
trayscale
gnome.gnome-disk-utility
inkscape
2023-08-21 02:24:55 +02:00
] else [ ]) ++ (if config.machine.isGnome then [
gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-panel
gnomeExtensions.user-themes
gnomeExtensions.vitals
gnomeExtensions.custom-accent-colors
] else [ ]);
};
}