Biggest fire
This commit is contained in:
parent
c1d3821667
commit
44f55e90bc
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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"
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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}
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user