change many thing
This commit is contained in:
parent
b2d69d270e
commit
fe668b5b9e
30 changed files with 632 additions and 470 deletions
|
|
@ -2,4 +2,5 @@
|
|||
{
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
services.xserver.videoDrivers = [ "i915" ];
|
||||
services.xserver.xkb.options = "caps:escape";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking.hostName = "adrift"; # Define your hostname.
|
||||
_: {
|
||||
networking.hostName = "adrift";
|
||||
time.timeZone = "Australia/Sydney";
|
||||
time.hardwareClockInLocalTime = false;
|
||||
i18n.defaultLocale = "en_AU.UTF-8";
|
||||
i18n.supportedLocales = [ "en_AU.UTF-8/UTF-8" ];
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@
|
|||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
hardware.graphics.enable32Bit = true;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
# temporarily disabled bc firefox
|
||||
nixpkgs.config.cudaSupport = false;
|
||||
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
open = true;
|
||||
|
|
|
|||
|
|
@ -4,5 +4,4 @@ _: {
|
|||
time.hardwareClockInLocalTime = false;
|
||||
i18n.defaultLocale = "en_AU.UTF-8";
|
||||
i18n.supportedLocales = [ "en_AU.UTF-8/UTF-8" ];
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
# TODO replace with hjem-rum config
|
||||
#
|
||||
# { scope, ... }:
|
||||
# scope "hm.programs.niri.settings.outputs" {
|
||||
# "DP-1" = {
|
||||
# transform.rotation = 90;
|
||||
# scale = 1;
|
||||
# };
|
||||
# "DP-2" = {
|
||||
# variable-refresh-rate = true;
|
||||
# scale = 1;
|
||||
# };
|
||||
# }
|
||||
_: { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue