Updated formating
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
"$mainMod, Return, exec, $terminal"
|
||||
"$mainMod, D, exec, $menu"
|
||||
"$mainMod Shift, C, killactive,"
|
||||
"$mainMod, Space, exec, toggle_float"
|
||||
"$mainMod, Space, togglefloating"
|
||||
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
|
||||
#emacs
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [./hardware-configuration.nix ];
|
||||
imports = [./hardware-configuration.nix];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.autoUpgrade.enable = true;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
lagrange
|
||||
chromium #this might replace firefox
|
||||
keepassxc
|
||||
thunderbird
|
||||
@@ -44,7 +45,10 @@
|
||||
|
||||
emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs-pgtk.override{withTreeSitter=true; withNativeCompilation=true;};
|
||||
package = pkgs.emacs-pgtk.override {
|
||||
withTreeSitter = true;
|
||||
withNativeCompilation = true;
|
||||
};
|
||||
extraPackages = epkgs: [
|
||||
epkgs.vterm
|
||||
];
|
||||
|
||||
@@ -6,23 +6,25 @@
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [80 443 22 25565 26615 8080 53 19132 ];
|
||||
allowedUDPPorts = [26615 8080 1900 51820 53 19132 ];
|
||||
allowedTCPPorts = [80 443 22 25565 26615 8080 53 19132];
|
||||
allowedUDPPorts = [26615 8080 1900 51820 53 19132];
|
||||
};
|
||||
nat.externalInterface = "wlp0s20f3";
|
||||
nat.internalInterfaces = [ "wg0" ];
|
||||
nat.internalInterfaces = ["wg0"];
|
||||
wireguard.interfaces = {
|
||||
wg0 = {
|
||||
ips = ["10.0.0.1/24"];
|
||||
listenPort = 51820;
|
||||
privateKeyFile = "/keys/wg-private";
|
||||
peers = [
|
||||
{ # laptop
|
||||
publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM=";
|
||||
peers = [
|
||||
{
|
||||
# laptop
|
||||
publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM=";
|
||||
allowedIPs = ["10.0.0.2/32"];
|
||||
}
|
||||
|
||||
{ # phone
|
||||
{
|
||||
# phone
|
||||
publicKey = "vcheBoHRxCrwzbMw0UI9ZsQfVDJizBWkeM+pF5/8+HE=";
|
||||
allowedIPs = ["10.0.0.3/32"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user