forked from javif89/nix
More bangers
This commit is contained in:
parent
44f55e90bc
commit
065a363242
@ -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" [
|
||||
|
@ -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
|
||||
];
|
||||
|
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
|
||||
|
||||
map ctrl+shift+t new_tab_with_cwd
|
||||
map ctrl+r send_text all \x15shellhistory\r
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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
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,
|
||||
...
|
||||
}:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user