Biggest fire

This commit is contained in:
Javier Feliz 2025-08-16 00:39:44 -04:00
parent c1d3821667
commit 44f55e90bc
4 changed files with 23 additions and 20 deletions

View File

@ -14,6 +14,7 @@ let
hide_window_decorations yes hide_window_decorations yes
map ctrl+shift+t new_tab_with_cwd map ctrl+shift+t new_tab_with_cwd
map ctrl+r send_text all \x15shellhistory\r
''; '';
in in
{ {

View File

@ -60,11 +60,15 @@
# Golang # Golang
gr = "go run ."; gr = "go run .";
gmt = "go mod tidy"; gmt = "go mod tidy";
}; };
# Additional bash configuration # Additional bash configuration
initContent = '' initContent = ''
function shellhistory() {
cmd=$(cat .zsh_history | grep -E ^: | sed "s/^: //" | sed "s|:0;| |" | sort --reverse | uniq | awk '{print substr($0, index($0, $2))}' | fzf)
eval "$cmd"
}
function pape() { function pape() {
hyprctl hyprpaper preload $1 hyprctl hyprpaper preload $1
hyprctl hyprpaper wallpaper ", $1" hyprctl hyprpaper wallpaper ", $1"

View File

@ -1,4 +1,4 @@
{ lib, ... }: { lib, pkgs, ... }:
let let
nasIp = "10.89.0.15"; nasIp = "10.89.0.15";
@ -41,8 +41,11 @@ in
udisks2.enable = true; udisks2.enable = true;
}; };
fileSystems = fsConfig; # Add NFS utilities
environment.systemPackages = with pkgs; [
nfs-utils
];
# # Optional: Create mount directories fileSystems = fsConfig;
# systemd.tmpfiles.rules = map (share: "d /mnt/${share} 0755 root root -") shares; systemd.tmpfiles.rules = map (share: "d /mnt/${share} 0755 root root -") shares;
} }

View File

@ -60,24 +60,19 @@
enable = true; enable = true;
globalConfig = '' globalConfig = ''
auto_https off auto_https off
admin off frankenphp
order php_server before file_server
''; '';
extraConfig = '' extraConfig = ''
*.test:80 { # Specific subdomain first (more specific routes come first)
root * /home/javi/projects/{labels.1} http://caddytest.test {
respond "We in caddyland"
}
# Try /public directory first (for Laravel) # Wildcard for other .test domains
@laravel file /home/javi/projects/{labels.1}/public/index.php http://*.test {
root @laravel /home/javi/projects/{labels.1}/public root * /home/javi/projects/{labels.1}/public
php_server
# PHP FastCGI
php_fastcgi unix//run/phpfpm/www.sock
# File server for static assets
file_server
# Laravel specific - handle missing files
try_files {path} {path}/ /index.php?{query}
} }
''; '';
}; };