mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
comments
This commit is contained in:
parent
7b0cc2134a
commit
7f12d9aa80
1 changed files with 5 additions and 1 deletions
|
@ -1,13 +1,15 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
time.timeZone = "US/Eastern";
|
time.timeZone = "US/Eastern";
|
||||||
|
|
||||||
|
# the default is all languages. this just shrinks the install size
|
||||||
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
zfs.forceImportAll = false;
|
zfs.forceImportAll = false;
|
||||||
zfs.forceImportRoot = false;
|
zfs.forceImportRoot = false;
|
||||||
kernelParams = [ "amdgpu.gpu_recovery=1" "panic=30" ];
|
kernelParams = [ "amdgpu.gpu_recovery=1" "panic=30" ];
|
||||||
initrd.availableKernelModules = [ "nvme" ];
|
initrd.availableKernelModules = [ "nvme" ]; # is this still needed?
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -27,6 +29,8 @@
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
||||||
|
|
||||||
|
# lower ipv4 DNS priority for networkmanager
|
||||||
networking.networkmanager.extraConfig = ''
|
networking.networkmanager.extraConfig = ''
|
||||||
[connection]
|
[connection]
|
||||||
ipv4.dns-priority=101
|
ipv4.dns-priority=101
|
||||||
|
|
Loading…
Reference in a new issue