From 7d793c45dc4a565c94eb9d415f4754ae7a7091fd Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sat, 7 Feb 2026 19:06:03 +0000 Subject: [PATCH] final changes before big refactor... --- flake.nix | 16 ++++++++-------- hardwares/doloro-laptop/disks.nix | 5 ++++- hosts/doloro-laptop/laptop.nix | 3 +-- hosts/doloro/nixos.nix | 1 - modules/nixvim/home.nix | 5 +---- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 6ee6c3a..6c1ad40 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = '' diff --git a/hardwares/doloro-laptop/disks.nix b/hardwares/doloro-laptop/disks.nix index 1721cbb..9611e27 100644 --- a/hardwares/doloro-laptop/disks.nix +++ b/hardwares/doloro-laptop/disks.nix @@ -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"; diff --git a/hosts/doloro-laptop/laptop.nix b/hosts/doloro-laptop/laptop.nix index 5aee8ae..23db8e2 100644 --- a/hosts/doloro-laptop/laptop.nix +++ b/hosts/doloro-laptop/laptop.nix @@ -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; diff --git a/hosts/doloro/nixos.nix b/hosts/doloro/nixos.nix index ea65385..8b06135 100644 --- a/hosts/doloro/nixos.nix +++ b/hosts/doloro/nixos.nix @@ -128,7 +128,6 @@ in enable = true; }; - # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = [ "nvidia" ]; fileSystems."/mnt/2tb" = { diff --git a/modules/nixvim/home.nix b/modules/nixvim/home.nix index ab10e9b..91f7c3b 100644 --- a/modules/nixvim/home.nix +++ b/modules/nixvim/home.nix @@ -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; };