some more adjustments, tried to get vs code to work

This commit is contained in:
2025-05-21 17:30:31 +02:00
parent d91ebe083d
commit b24d0f466a
19 changed files with 259 additions and 107 deletions

View File

@@ -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
View File

@@ -0,0 +1,4 @@
{config, ...}:
{
programs.nix-ld.enable = true;
}

View File

@@ -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;

View File

@@ -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