dotfiles/home-manager/modules/packages.nix

128 lines
3.3 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;
2024-02-18 23:04:50 +01:00
let
2024-02-27 02:54:02 +01:00
electronFlags =
"--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --disable-gpu-shader-disk-cache -n";
2024-02-18 23:04:50 +01:00
in {
2023-08-21 02:24:55 +02:00
config = {
2023-09-11 00:37:23 +02:00
nixpkgs.overlays = [
2024-02-27 02:54:02 +01:00
(_: prev: {
2023-09-11 00:37:23 +02:00
quickemu = prev.quickemu.overrideAttrs (old: {
2024-02-27 02:54:02 +01:00
patches = (old.patches or [ ]) ++ [ ./../patches/quickemu.patch ];
2023-09-11 00:37:23 +02:00
});
})
];
2024-02-27 02:54:02 +01:00
home.packages = with pkgs;
[
up
htop
rustc
cargo
nixfmt
nodejs
bun
deno
devbox
tldr
flutter
nurl
hcloud
tea
dgraph
nix-init
nodePackages.nodemon
pocketbase
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
'')
(pkgs.writeShellScriptBin "nix-build-default" ''
nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
'')
(callPackage ./../pkgs/toggl-time-grouper/package.nix { inherit python3Packages; })
2024-02-27 02:54:02 +01:00
nixpkgs-fmt
toolbox
distrobox
ddev
act
mkcert
pulumi
kubectl
pulumiPackages.pulumi-language-nodejs
ncdu
inputs.devenv.packages.x86_64-linux.devenv
inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update
inputs.dagger.packages.x86_64-linux.dagger
unzip
gh
nil
nixd
unrar
] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
})
corefonts
vistafonts
jetbrains.webstorm
jetbrains.phpstorm
jetbrains.rust-rover
jetbrains.goland
element-desktop
ludusavi
dbeaver
insomnia
onlyoffice-bin
spotify
vesktop
(lutris.override {
extraLibraries = _: [ gnome3.adwaita-icon-theme ];
extraPkgs = _: [
wineWowPackages.full
winetricks
gnome3.adwaita-icon-theme
];
})
bottles
protontricks
heroic
(vscode.override { commandLineArgs = electronFlags; })
quickemu
quickgui
trilium-desktop
anki
inputs.muse-sounds-manager.packages.x86_64-linux.muse-sounds-manager
jetbrains-toolbox
mumble
prusa-slicer
trayscale
gnome.gnome-disk-utility
inkscape
# musescore
2024-02-27 02:54:02 +01:00
obsidian
syncthingtray
reaper
yabridge
] else
[ ]) ++ (if config.machine.isGnome then [
gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-panel
gnomeExtensions.user-themes
gnomeExtensions.vitals
gnomeExtensions.custom-accent-colors
] else
[ ]);
2023-08-21 02:24:55 +02:00
};
}