Skip to content

Commit

Permalink
modules (homelab): Rename raspberry-pi to directions
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Jul 8, 2024
1 parent c6a6081 commit 9803b45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/nixos/grafana/prometheus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in {
targets = [
"localhost:9100"
"${config.my.homelab.cyberoffice.ip}:9100"
"${config.my.homelab.raspberry-pi.ip}:9100"
"${config.my.homelab.directions.ip}:9100"
"${config.my.homelab.warehouse.ip}:9100"
];
}
Expand All @@ -35,7 +35,7 @@ in {
targets = [
"localhost:4243"
"${config.my.homelab.cyberoffice.ip}:4243"
"${config.my.homelab.raspberry-pi.ip}:4243"
"${config.my.homelab.directions.ip}:4243"
"${config.my.homelab.warehouse.ip}:4243"
];
}
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/homelab/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
default = "192.168.178.100";
};
};
raspberry-pi = {
directions = {
ip = lib.mkOption {
type = lib.types.str;
default = "192.168.178.105";
Expand Down

0 comments on commit 9803b45

Please sign in to comment.