More bangers

This commit is contained in:
Javier Feliz 2025-08-16 02:01:46 -04:00
parent 44f55e90bc
commit 065a363242
8 changed files with 33 additions and 8 deletions

View File

@ -71,6 +71,7 @@
./modules/system/nvidia.nix
./modules/system/nfs.nix
./modules/system/display-manager/sddm.nix
./modules/system/gaming.nix
];
laptop = mkHost "laptop" [

View File

@ -9,7 +9,7 @@
{
imports = [
../common-config.nix
../../modules/system/nix-valet.nix
# ../../modules/system/nix-valet.nix
../../modules/system/device-management/logitech.nix
./hardware-configuration.nix
];

View File

@ -0,0 +1,7 @@
{ ... }:
{
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}

View File

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

View File

@ -64,11 +64,6 @@
# Additional bash configuration
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() {
hyprctl hyprpaper preload $1
hyprctl hyprpaper wallpaper ", $1"

View File

@ -13,6 +13,7 @@
./common/shell.nix
./common/starship.nix
./common/yazi.nix
./common/fzf.nix
./hyprland
];
@ -36,7 +37,6 @@
# Terminal tools
ripgrep
fzf
bat
eza
jq

11
modules/system/gaming.nix Normal file
View File

@ -0,0 +1,11 @@
{ ... }:
{
# Install Steam
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
}

View File

@ -11,7 +11,18 @@
lib,
...
}:
let
customCaddy = pkgs.xcaddy {
pname = "caddy-frankenphp";
version = "2.7.6";
subPackages = [ "cmd/caddy" ];
plugins = [
"github.com/dunglas/frankenphp/caddy"
];
};
in
{
services = {
# Enable dnsmasq
@ -58,6 +69,7 @@
# Enable Caddy
caddy = {
enable = true;
package = customCaddy;
globalConfig = ''
auto_https off
frankenphp