Skip to content

Commit

Permalink
tempfix: dns
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Jan 15, 2025
1 parent a9b1da6 commit 753bfd8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions system/net/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
inherit (lib) mkIf;
in {
networking = {
nameservers = ["127.0.0.1" "::1"];
nameservers = ["1.1.1.1" "1.0.0.1"];
dhcpcd.extraConfig = "nohook resolv.conf";
networkmanager = {
enable = true;
unmanaged = ["docker0" "rndis0"];
dns = "none";
wifi = {
macAddress = mkIf (! config.hardware.asahi.enable) "random";
powersave = true;
Expand Down
8 changes: 4 additions & 4 deletions system/security/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
hardware.ledger.enable = true;
services = {
networkd-dispatcher.enable = true;
Expand All @@ -10,17 +10,17 @@
lockKernelModules = false;
forcePageTableIsolation = true;
polkit.enable = true;
sudo.package = pkgs.sudo.override { withInsults = true; };

rtkit.enable = true;
apparmor = {
enable = true;
killUnconfinedConfinables = true;
packages = [pkgs.apparmor-profiles];
packages = [ pkgs.apparmor-profiles ];
};
};
# credits: poz
fileSystems = let
defaults = ["nodev" "nosuid" "noexec"];
fileSystems = let defaults = [ "nodev" "nosuid" "noexec" ];
in {
"/boot".options = defaults;
"/var/log".options = defaults;
Expand Down

0 comments on commit 753bfd8

Please sign in to comment.