More bangers
This commit is contained in:
parent
44f55e90bc
commit
065a363242
@ -71,6 +71,7 @@
|
|||||||
./modules/system/nvidia.nix
|
./modules/system/nvidia.nix
|
||||||
./modules/system/nfs.nix
|
./modules/system/nfs.nix
|
||||||
./modules/system/display-manager/sddm.nix
|
./modules/system/display-manager/sddm.nix
|
||||||
|
./modules/system/gaming.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
laptop = mkHost "laptop" [
|
laptop = mkHost "laptop" [
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common-config.nix
|
../common-config.nix
|
||||||
../../modules/system/nix-valet.nix
|
# ../../modules/system/nix-valet.nix
|
||||||
../../modules/system/device-management/logitech.nix
|
../../modules/system/device-management/logitech.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
7
modules/home/common/fzf.nix
Normal file
7
modules/home/common/fzf.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
@ -14,7 +14,6 @@ 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
|
||||||
{
|
{
|
||||||
|
@ -64,11 +64,6 @@
|
|||||||
|
|
||||||
# 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"
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
./common/shell.nix
|
./common/shell.nix
|
||||||
./common/starship.nix
|
./common/starship.nix
|
||||||
./common/yazi.nix
|
./common/yazi.nix
|
||||||
|
./common/fzf.nix
|
||||||
./hyprland
|
./hyprland
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -36,7 +37,6 @@
|
|||||||
|
|
||||||
# Terminal tools
|
# Terminal tools
|
||||||
ripgrep
|
ripgrep
|
||||||
fzf
|
|
||||||
bat
|
bat
|
||||||
eza
|
eza
|
||||||
jq
|
jq
|
||||||
|
11
modules/system/gaming.nix
Normal file
11
modules/system/gaming.nix
Normal 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
|
||||||
|
};
|
||||||
|
}
|
@ -11,7 +11,18 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
customCaddy = pkgs.xcaddy {
|
||||||
|
pname = "caddy-frankenphp";
|
||||||
|
version = "2.7.6";
|
||||||
|
|
||||||
|
subPackages = [ "cmd/caddy" ];
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
"github.com/dunglas/frankenphp/caddy"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
# Enable dnsmasq
|
# Enable dnsmasq
|
||||||
@ -58,6 +69,7 @@
|
|||||||
# Enable Caddy
|
# Enable Caddy
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = customCaddy;
|
||||||
globalConfig = ''
|
globalConfig = ''
|
||||||
auto_https off
|
auto_https off
|
||||||
frankenphp
|
frankenphp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user