final changes before big refactor...
This commit is contained in:
16
flake.nix
16
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 = ''
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -128,7 +128,6 @@ in
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
fileSystems."/mnt/2tb" = {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user