final changes before big refactor...

This commit is contained in:
2026-02-07 19:06:03 +00:00
parent 5911da7f99
commit 7d793c45dc
5 changed files with 14 additions and 16 deletions

View File

@@ -114,14 +114,14 @@
# gamescope = pkgs_gamescope.callPackage packageNix { };
# }
# )
# (self: super: {
# intel-npu-driver = super.intel-npu-driver.overrideAttrs (oldAttrs: rec {
# installPhase = ''
# mkdir -p $out/lib/firmware
# ${oldAttrs.installPhase}
# '';
# });
# })
(self: super: {
intel-npu-driver = super.intel-npu-driver.overrideAttrs (oldAttrs: rec {
installPhase = ''
mkdir -p $out/lib/firmware
${oldAttrs.installPhase}
'';
});
})
(final: prev: {
vesktop = prev.vesktop.overrideAttrs (old: {
preBuild = ''

View File

@@ -1,4 +1,7 @@
{inputs, ...}:{imports = [inputs.disko.nixosModules.disko]; disko.devices = {
{ inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices = {
disk = {
main = {
device = "/dev/nvme0n1";

View File

@@ -44,8 +44,7 @@ in
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "quiet";
START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
services.thermald.enable = true;

View File

@@ -128,7 +128,6 @@ in
enable = true;
};
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ];
fileSystems."/mnt/2tb" = {

View File

@@ -16,7 +16,7 @@ in
inputs.nixvim.homeModules.nixvim
./plugins
];
config.home.packages = with pkgs; [
extraPackages = with pkgs; [
# formatters
nixfmt
rustfmt
@@ -57,9 +57,6 @@ in
nixd = {
enable = true;
};
astro = {
enable = true;
};
ts_ls = {
enable = true;
};