dotfiles/home-manager/modules/packages.nix

126 lines
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
electronFlags = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --disable-gpu-shader-disk-cache -n";
in {
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
htop
2024-01-10 21:04:28 +01:00
rustc
2024-02-06 18:29:19 +01:00
cargo
2023-08-21 02:24:55 +02:00
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
'')
2023-09-11 01:28:30 +02:00
(pkgs.writeShellScriptBin "nix-build-default" ''
nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
'')
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
2024-02-09 13:55:32 +01:00
inputs.dagger.packages.x86_64-linux.dagger
2023-11-20 19:01:47 +01:00
unzip
2023-11-24 20:47:56 +01:00
gh
nil
nixd
2024-02-18 23:04:50 +01:00
unrar
2023-08-21 02:24:55 +02:00
] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
})
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
2024-02-18 23:04:50 +01:00
(vscode.override { commandLineArgs = electronFlags; })
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
2024-02-14 00:05:08 +01:00
inputs.muse-sounds-manager.packages.x86_64-linux.muse-sounds-manager
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
2024-02-14 03:07:55 +01:00
musescore
2024-02-17 02:10:58 +01:00
obsidian
syncthingtray
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 [ ]);
};
}