mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Cleaned up comments
This commit is contained in:
parent
e5f6ca254c
commit
4870b68b9a
5 changed files with 6 additions and 8 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ 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 = [
|
imports = [
|
||||||
./audio.nix
|
./audio.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(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.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
## CPU
|
# CPU
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
time = {
|
time = {
|
||||||
timeZone = "America/New_York"; # Change time-zone, run timedatectl list-timezones if you're unsure
|
timeZone = "America/New_York";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.timesyncd = {
|
services.timesyncd = {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Remove this if you don't want to use GPG as your SSH agent
|
|
||||||
programs.gnupg = {
|
programs.gnupg = {
|
||||||
agent = {
|
agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Change users.users.<USERNAME> to your username, I don't recommend messing with extraGroups
|
|
||||||
users.users.bryan = {
|
users.users.bryan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ];
|
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 = {
|
programs.gnupg = {
|
||||||
agent = {
|
agent = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue