[feat] Add nameservers

This commit is contained in:
uttarayan21
2024-02-18 00:44:44 +05:30
parent e94126de33
commit 9823b84289
2 changed files with 3 additions and 5 deletions

View File

@@ -267,6 +267,7 @@ in
".config/tmux/sessions".source = ../../tmux/sessions;
".config/nvim/lua".source = ../../nvim/lua;
".config/nvim/init.lua".source = ../../nvim/init.lua;
".config/macchina".source = ../../macchina;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''

View File

@@ -1,11 +1,7 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@@ -16,6 +12,7 @@
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "ryu"; # Define your hostname.
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
services.udev.packages = [pkgs.yubikey-personalization pkgs.yubikey-personalization-gui];