Skip to content

Commit d7ae97e

Browse files
committed
fix: fixes for gojo things
1 parent e7b70bc commit d7ae97e

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

home/hosts/gojo/config/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
transform = 0;
1616
enabled = true;
1717
# hdr = true;
18-
# vrr = true;
18+
vrr = true;
1919
}
2020
{
21-
name = "DP-3";
21+
name = "DP-2";
2222
width = 2560; # Left-most monitor
2323
height = 1440;
2424
refreshRate = 360;
25-
x = 1080;
25+
x = 0;
2626
y = 0;
2727
scale = 1.0;
2828
transform = 0;
2929
enabled = true;
3030
# hdr = true;
31-
# vrr = true;
31+
vrr = true;
3232
}
3333
];
3434

lib/hosts.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ in
7272
network = {
7373
hostName = "gojo";
7474
ip = "104.40.5.5"; # Update with actual IP if needed
75+
vpn = true; # VPN client to nexus
76+
wg = {
77+
publicKey = "PLACEHOLDER"; # Defined in secrets
78+
address = "10.100.0.2/32"; # Client address
79+
endpoint = wgEndpoint;
80+
};
7581
};
7682
user = {
7783
name = "gio";
@@ -127,7 +133,7 @@ in
127133
};
128134
wg = {
129135
publicKey = "PLACEHOLDER"; # Defined in secrets
130-
address = "10.100.0.1/24"; # Server address
136+
address = "10.100.0.4/24"; # Server address
131137
endpoint = null; # Server doesn't need endpoint
132138
};
133139
};

modules/home/monitors.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
example = 1080;
2222
};
2323
refreshRate = lib.mkOption {
24-
type = lib.types.int;
24+
type = lib.types.either lib.types.int lib.types.float;
2525
default = 60;
2626
};
2727
x = lib.mkOption {

0 commit comments

Comments
 (0)