From 4870b68b9a8c9c259e6856afcd0e13267e5b74d9 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Wed, 22 Mar 2023 00:26:05 -0400 Subject: [PATCH] Cleaned up comments --- sysConfig/default.nix | 4 ++-- sysConfig/hardware.nix | 4 ++-- sysConfig/locale.nix | 2 +- sysConfig/network.nix | 1 - sysConfig/users.nix | 3 +-- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sysConfig/default.nix b/sysConfig/default.nix index 2ec3e6a..b62844e 100644 --- a/sysConfig/default.nix +++ b/sysConfig/default.nix @@ -1,9 +1,9 @@ { pkgs, ... }: { - # Nix requires default.nix to build the system properly, do not rename it. + # Nix requires default.nix to build the system properly. - # Add or remove imports based on the modules in your sysConfig directory. + # Add or remove imports based on the modules in sysConfig/. imports = [ ./audio.nix ./boot.nix diff --git a/sysConfig/hardware.nix b/sysConfig/hardware.nix index 5884289..24b2ad3 100644 --- a/sysConfig/hardware.nix +++ b/sysConfig/hardware.nix @@ -6,7 +6,7 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; -## KERNEL MODULES +# KERNEL MODULES boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; @@ -33,7 +33,7 @@ }; -## CPU +# CPU powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; diff --git a/sysConfig/locale.nix b/sysConfig/locale.nix index 2fb9805..f41fa19 100644 --- a/sysConfig/locale.nix +++ b/sysConfig/locale.nix @@ -3,7 +3,7 @@ { time = { - timeZone = "America/New_York"; # Change time-zone, run timedatectl list-timezones if you're unsure + timeZone = "America/New_York"; }; services.timesyncd = { diff --git a/sysConfig/network.nix b/sysConfig/network.nix index 78bdb91..6079eed 100644 --- a/sysConfig/network.nix +++ b/sysConfig/network.nix @@ -10,7 +10,6 @@ networkmanager.enable = true; }; - # Remove this if you don't want to use GPG as your SSH agent programs.gnupg = { agent = { enable = true; diff --git a/sysConfig/users.nix b/sysConfig/users.nix index 3b7caa6..77de0b2 100644 --- a/sysConfig/users.nix +++ b/sysConfig/users.nix @@ -1,13 +1,12 @@ { config, pkgs, lib, ... }: { - # Change users.users. to your username, I don't recommend messing with extraGroups users.users.bryan = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ]; }; - security.sudo.wheelNeedsPassword = false; # Feel free to remove this if you want to type your password on sudo + security.sudo.wheelNeedsPassword = false; programs.gnupg = { agent = {