Skip to content

Commit

Permalink
feat(network): enabled pihole dns to pc configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Oct 18, 2024
1 parent 58ae3b0 commit f55bd7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hosts/pc/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ with lib;
with lib.my;
{

imports = [ ./hardware.nix ];
imports = [ ./hardware.nix ./networking.nix ];

services.xserver.xrandrHeads = [
{
Expand Down
4 changes: 4 additions & 0 deletions hosts/pc/networking.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{ ... }:
{
networking.nameservers = [ "192.168.1.8" "1.1.1.1" ];
}

0 comments on commit f55bd7a

Please sign in to comment.