2025-05-29 15:39:42 +03:00
|
|
|
{ pkgs, lib, ... }:
|
2024-05-23 13:39:48 +03:00
|
|
|
{
|
2025-05-29 15:39:42 +03:00
|
|
|
custom.home_wg_suffix = "2";
|
|
|
|
system.autoUpgrade.allowReboot = lib.mkForce false;
|
|
|
|
|
2024-06-02 05:53:39 +03:00
|
|
|
networking = {
|
|
|
|
wg-quick.interfaces = {
|
|
|
|
wg1 = {
|
|
|
|
autostart = false;
|
|
|
|
address = [ "10.100.0.7/24" ];
|
|
|
|
dns = [ "1.1.1.1" ];
|
|
|
|
privateKeyFile = "/root/wireguard-keys/privatekey-netflix";
|
2024-09-24 20:01:29 +03:00
|
|
|
listenPort = 51820;
|
2024-05-23 13:39:48 +03:00
|
|
|
|
2024-06-02 05:53:39 +03:00
|
|
|
peers = [
|
|
|
|
{
|
|
|
|
publicKey = "XSYHg0utIR1j7kRsWFwuWNo4RPD47KP53cVa6qDPtRE=";
|
2024-06-02 16:18:19 +03:00
|
|
|
allowedIPs = [
|
|
|
|
"0.0.0.0/0"
|
|
|
|
"192.168.0.0/24"
|
|
|
|
];
|
2024-06-02 05:53:39 +03:00
|
|
|
endpoint = "netflix.vsinerva.fi:51821";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-05-23 13:39:48 +03:00
|
|
|
|
2024-06-06 21:12:13 +03:00
|
|
|
services.xserver.displayManager.setupCommands = ''
|
2024-12-06 19:25:57 +02:00
|
|
|
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-0 --auto --pos 0x0 --primary --output eDP --auto --pos 3840x360
|
2024-06-06 21:12:13 +03:00
|
|
|
'';
|
2024-05-23 13:39:48 +03:00
|
|
|
|
2025-05-29 15:39:42 +03:00
|
|
|
imports = [
|
2025-06-01 14:15:50 +03:00
|
|
|
../../shared/base.nix
|
2025-05-29 15:39:42 +03:00
|
|
|
|
2025-06-01 14:15:50 +03:00
|
|
|
../../personal/desktop.nix
|
|
|
|
../../personal/development.nix
|
2025-05-29 15:39:42 +03:00
|
|
|
|
2025-06-01 14:15:50 +03:00
|
|
|
../../personal/hardware/amd-laptop.nix
|
|
|
|
../../personal/hardware/hibernate.nix
|
|
|
|
../../personal/hardware/keychron-q11.nix
|
|
|
|
../../personal/hardware/onlykey.nix
|
|
|
|
../../personal/hardware/trackball.nix
|
2025-05-29 15:39:42 +03:00
|
|
|
|
2025-06-01 14:15:50 +03:00
|
|
|
../../personal/networking/home-wg.nix
|
|
|
|
../../personal/networking/printing.nix
|
2025-05-29 15:39:42 +03:00
|
|
|
|
2025-06-01 14:15:50 +03:00
|
|
|
../../personal/programs/bitwarden.nix
|
|
|
|
../../personal/programs/communication.nix
|
|
|
|
../../personal/programs/firefox.nix
|
|
|
|
../../personal/programs/i3.nix
|
|
|
|
../../personal/programs/moonlight.nix
|
|
|
|
../../personal/programs/redshift.nix
|
|
|
|
../../personal/programs/study.nix
|
|
|
|
../../personal/programs/usb-automount.nix
|
2025-06-05 00:52:43 +03:00
|
|
|
|
|
|
|
../../servers/syncthing.nix
|
2025-05-29 15:39:42 +03:00
|
|
|
];
|
2024-05-23 13:39:48 +03:00
|
|
|
}
|