Updated formating

This commit is contained in:
k
2026-01-27 16:11:58 -05:00
parent 07fd3a6afc
commit f8eccabdb3
4 changed files with 16 additions and 10 deletions

View File

@@ -99,7 +99,7 @@
"$mainMod, Return, exec, $terminal" "$mainMod, Return, exec, $terminal"
"$mainMod, D, exec, $menu" "$mainMod, D, exec, $menu"
"$mainMod Shift, C, killactive," "$mainMod Shift, C, killactive,"
"$mainMod, Space, exec, toggle_float" "$mainMod, Space, togglefloating"
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock" "$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
#emacs #emacs

View File

@@ -4,7 +4,7 @@
inputs, inputs,
... ...
}: { }: {
imports = [./hardware-configuration.nix ]; imports = [./hardware-configuration.nix];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;

View File

@@ -14,6 +14,7 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
lagrange
chromium #this might replace firefox chromium #this might replace firefox
keepassxc keepassxc
thunderbird thunderbird
@@ -44,7 +45,10 @@
emacs = { emacs = {
enable = true; enable = true;
package = pkgs.emacs-pgtk.override{withTreeSitter=true; withNativeCompilation=true;}; package = pkgs.emacs-pgtk.override {
withTreeSitter = true;
withNativeCompilation = true;
};
extraPackages = epkgs: [ extraPackages = epkgs: [
epkgs.vterm epkgs.vterm
]; ];

View File

@@ -6,23 +6,25 @@
networking = { networking = {
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [80 443 22 25565 26615 8080 53 19132 ]; allowedTCPPorts = [80 443 22 25565 26615 8080 53 19132];
allowedUDPPorts = [26615 8080 1900 51820 53 19132 ]; allowedUDPPorts = [26615 8080 1900 51820 53 19132];
}; };
nat.externalInterface = "wlp0s20f3"; nat.externalInterface = "wlp0s20f3";
nat.internalInterfaces = [ "wg0" ]; nat.internalInterfaces = ["wg0"];
wireguard.interfaces = { wireguard.interfaces = {
wg0 = { wg0 = {
ips = ["10.0.0.1/24"]; ips = ["10.0.0.1/24"];
listenPort = 51820; listenPort = 51820;
privateKeyFile = "/keys/wg-private"; privateKeyFile = "/keys/wg-private";
peers = [ peers = [
{ # laptop {
# laptop
publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM="; publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM=";
allowedIPs = ["10.0.0.2/32"]; allowedIPs = ["10.0.0.2/32"];
} }
{ # phone {
# phone
publicKey = "vcheBoHRxCrwzbMw0UI9ZsQfVDJizBWkeM+pF5/8+HE="; publicKey = "vcheBoHRxCrwzbMw0UI9ZsQfVDJizBWkeM+pF5/8+HE=";
allowedIPs = ["10.0.0.3/32"]; allowedIPs = ["10.0.0.3/32"];
} }