aboutsummaryrefslogtreecommitdiff
path: root/hosts/the-meowchine/default.nix
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-05-26 14:28:53 -0400
committerRosa <rosaontheweb@proton.me>2026-05-26 14:28:53 -0400
commit5497fa685466c73cbcffd3e77056752a8d818e3e (patch)
treec60e3935049a4824868d3718f857010cd106a6b0 /hosts/the-meowchine/default.nix
parent36439f34e12d4fd2151bb08ed3197489cea5c51c (diff)
syncing my things
Diffstat (limited to 'hosts/the-meowchine/default.nix')
-rw-r--r--hosts/the-meowchine/default.nix74
1 files changed, 38 insertions, 36 deletions
diff --git a/hosts/the-meowchine/default.nix b/hosts/the-meowchine/default.nix
index 4043a93..0ca41fa 100644
--- a/hosts/the-meowchine/default.nix
+++ b/hosts/the-meowchine/default.nix
@@ -5,9 +5,9 @@
...
}:
{
- environment.systemPackages = with pkgs; [
- wireguard-tools
- ];
+ environment.systemPackages = with pkgs; [
+ wireguard-tools
+ ];
home-manager.users.rosa = {
imports = [ ../../modules/user ];
@@ -33,11 +33,13 @@
prismlauncher.enable = true;
vesktop.enable = true;
};
+
+ services.syncthing.enable = true;
};
networking = {
- useNetworkd = true;
- wireless.iwd.enable = true;
+ useNetworkd = true;
+ wireless.iwd.enable = true;
};
programs = {
@@ -53,41 +55,41 @@
};
systemd.network = {
- enable = true;
- netdevs."90-wg0" = {
- enable = true;
- netdevConfig = {
- Kind = "wireguard";
- Name = "wg0";
- };
+ enable = true;
+ netdevs."90-wg0" = {
+ enable = true;
+ netdevConfig = {
+ Kind = "wireguard";
+ Name = "wg0";
+ };
- wireguardConfig = {
- PrivateKeyFile = "/etc/wireguard/the-meowchine.key";
- RouteTable = "main";
- };
+ wireguardConfig = {
+ PrivateKeyFile = "/etc/wireguard/the-meowchine.key";
+ RouteTable = "main";
+ };
- wireguardPeers = [
- {
- AllowedIPs = [ "10.6.6.0/24" ];
- Endpoint = "51.79.54.109:51820";
- PersistentKeepalive = 25;
- PublicKey = "ChnzJG0HJcgk3OhgTzoPZ9EOyhuCH1EAknaQ9VF7N0I=";
- }
- ];
- };
+ wireguardPeers = [
+ {
+ AllowedIPs = [ "10.6.6.0/24" ];
+ Endpoint = "51.79.54.109:51820";
+ PersistentKeepalive = 25;
+ PublicKey = "ChnzJG0HJcgk3OhgTzoPZ9EOyhuCH1EAknaQ9VF7N0I=";
+ }
+ ];
+ };
- networks = {
- "89-wireless" = {
- DHCP = "yes";
- matchConfig.Name = "wlan0";
- networkConfig.IgnoreCarrierLoss = "3s";
- };
+ networks = {
+ "89-wireless" = {
+ DHCP = "yes";
+ matchConfig.Name = "wlan0";
+ networkConfig.IgnoreCarrierLoss = "3s";
+ };
- "90-wg0" = {
- address = [ "10.6.6.3/24" ];
- matchConfig.Name = "wg0";
- };
- };
+ "90-wg0" = {
+ address = [ "10.6.6.3/24" ];
+ matchConfig.Name = "wg0";
+ };
+ };
};
users.users.rosa.enable = true;