2023-05-03 02:27:17 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
chromeArgs = lib.strings.concatStringsSep " " [
|
|
|
|
"--force-dark-mode"
|
|
|
|
"--enable-features=WebUIDarkMode"
|
|
|
|
"--enable-smooth-scrolling"
|
|
|
|
"--ozone-platform-hint=auto"
|
|
|
|
"--ignore-gpu-blocklist"
|
|
|
|
"--enable-gpu-rasterization"
|
|
|
|
"--enable-zero-copy"
|
2023-05-12 23:26:23 +02:00
|
|
|
"--force-device-scale-factor=1.0"
|
|
|
|
"--use-gl=desktop"
|
2023-05-03 02:27:17 +02:00
|
|
|
];
|
|
|
|
nixGLWrap = import ./utils/nixGLWrap.nix { inherit pkgs lib; };
|
|
|
|
in {
|
|
|
|
home.packages = with pkgs;
|
|
|
|
[
|
|
|
|
up
|
|
|
|
rbenv
|
|
|
|
cargo-update
|
|
|
|
htop
|
|
|
|
rustup
|
|
|
|
nixfmt
|
|
|
|
nodejs
|
|
|
|
bun
|
|
|
|
deno
|
|
|
|
devbox
|
|
|
|
tldr
|
|
|
|
flutter
|
|
|
|
nurl
|
|
|
|
hcloud
|
|
|
|
tea
|
2023-05-04 01:16:25 +02:00
|
|
|
dgraph
|
2023-05-12 22:05:27 +02:00
|
|
|
nix-init
|
2023-05-04 01:16:25 +02:00
|
|
|
nodePackages.nodemon
|
2023-05-07 17:08:52 +02:00
|
|
|
pocketbase
|
|
|
|
surrealdb
|
2023-05-03 02:27:17 +02:00
|
|
|
] ++ [
|
|
|
|
(import (fetchTarball
|
|
|
|
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default
|
|
|
|
(pkgs.nerdfonts.override {
|
|
|
|
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
|
|
|
|
})
|
|
|
|
(nixGLWrap (pkgs.vivaldi.override {
|
|
|
|
proprietaryCodecs = true;
|
|
|
|
enableWidevine = true;
|
|
|
|
commandLineArgs = chromeArgs;
|
|
|
|
}))
|
|
|
|
(nixGLWrap
|
|
|
|
(pkgs.google-chrome.override { commandLineArgs = chromeArgs; }))
|
|
|
|
(pkgs.writeShellScriptBin "ssh-fix-permissions"
|
|
|
|
(builtins.readFile ./scripts/ssh-fix-permissions.sh))
|
|
|
|
(pkgs.writeShellScriptBin "yt-dlp-audio"
|
|
|
|
(builtins.readFile ./scripts/yt-dlp-audio.sh))
|
2023-05-12 23:26:23 +02:00
|
|
|
(callPackage pkgs/docker-craft-cms-dev-env.nix { inherit lib; })
|
2023-05-03 02:27:17 +02:00
|
|
|
];
|
|
|
|
}
|