some more adjustments, tried to get vs code to work
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
];
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = false;
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Name = "Hello";
|
||||
Name = "Nixtre";
|
||||
ControllerMode = "dual";
|
||||
FastConnectable = "true";
|
||||
Experimental = "true";
|
||||
|
4
modules/nixos/ld.nix
Normal file
4
modules/nixos/ld.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{config, ...}:
|
||||
{
|
||||
programs.nix-ld.enable = true;
|
||||
}
|
@@ -16,9 +16,9 @@
|
||||
hardware.graphics.enable = lib.mkForce true;
|
||||
hardware.nvidia = lib.mkForce {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
# features not available for the old graphics card
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
# features not available for the old graphics card
|
||||
open = false;
|
||||
nvidiaSettings = false;
|
||||
|
||||
|
@@ -21,6 +21,44 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
# services.superfreq = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# charger = {
|
||||
# governor = "performance";
|
||||
# turbo = "auto";
|
||||
# epp = "performance";
|
||||
# epb = "balance_performance";
|
||||
# platform_profile = "performance";
|
||||
# };
|
||||
|
||||
# battery = {
|
||||
# governor = "powersave";
|
||||
# turbo = "auto";
|
||||
# epp = "power";
|
||||
# epb = "balance_power";
|
||||
# platform_profile = "low-power";
|
||||
# min_freq_mhz = 800;
|
||||
# max_freq_mhz = 2500;
|
||||
|
||||
# };
|
||||
|
||||
# daemon = {
|
||||
# poll_interval_sec = 10;
|
||||
# adaptive_interval = true;
|
||||
# min_poll_interval_sec = 1;
|
||||
# max_poll_interval_sec = 30;
|
||||
# throttle_on_battery = true;
|
||||
# };
|
||||
# battery_charge_thresholds = [50 90];
|
||||
# };
|
||||
|
||||
|
||||
# # logind.lidSwitchExternalPower = "ignore"; # prevent lid switch from triggering a suspend
|
||||
# };
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
AllowSuspend=yes
|
||||
AllowHibernation=yes
|
||||
|
Reference in New Issue
Block a user