added some dev packages and http server script

This commit is contained in:
Thilo Billerbeck 2023-09-10 15:40:57 +02:00
parent d973d78d98
commit f5d4652b61

View file

@ -41,6 +41,9 @@ in {
(builtins.readFile ./../scripts/yt-dlp-audio.sh)) (builtins.readFile ./../scripts/yt-dlp-audio.sh))
(pkgs.writeShellScriptBin "nix-shell-init" (pkgs.writeShellScriptBin "nix-shell-init"
(builtins.readFile ./../scripts/nix-shell-init.sh)) (builtins.readFile ./../scripts/nix-shell-init.sh))
(pkgs.writeShellScriptBin "http-server" ''
${pkgs.caddy}/bin/caddy file-server --listen :2345
'')
(callPackage ./../pkgs/docker-craft-cms-dev-env.nix { (callPackage ./../pkgs/docker-craft-cms-dev-env.nix {
inherit lib; inherit lib;
}) })
@ -49,11 +52,13 @@ in {
nixpkgs-fmt nixpkgs-fmt
toolbox toolbox
distrobox distrobox
ddev
act
] ++ (if config.machine.isGraphical then [ ] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override { (pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
}) })
anki # anki
corefonts corefonts
vistafonts vistafonts
jetbrains.webstorm jetbrains.webstorm
@ -73,6 +78,8 @@ in {
google-chrome google-chrome
vscode vscode
discord discord
obsidian
chromium
] else [ ]) ++ (if config.machine.isGnome then [ ] else [ ]) ++ (if config.machine.isGnome then [
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-panel gnomeExtensions.dash-to-panel