This commit is contained in:
Kris
2026-03-28 22:37:08 +02:00
parent 8ed9bd9618
commit 46a34a6ef5
10 changed files with 23 additions and 30 deletions

View File

@@ -25,13 +25,11 @@
];
boot.loader = {
efi = {
# canTouchEfiVariables = true;
};
grub = {
efiSupport = true;
device = "nodev";
efiInstallAsRemovable = true;
# efiSysMountPoint = "/boot";
# efiInstallAsRemovable = true;
# will kill pc if triplebooting w*ndows, nixos and cachyos
useOSProber = true;
gfxmodeEfi = "1920x1080";

View File

@@ -28,7 +28,7 @@
initialPassword = "password";
description = "${config.main-user.realName}";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "gamemode" "wheel" "input" "video" "libvirtd" "power" ];
extraGroups = [ "networkmanager" "gamemode" "wheel" "input" "video" "power" ];
packages = config.main-user.packages;
};
};

View File

@@ -6,6 +6,13 @@
nixpkgs.config.replaceStdenv = args: args.pkgs.stdenv;
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
equibop = pkgs.equibop.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ pkgs.makeWrapper ];
postFixup = (old.postFixup or "") + ''
wrapProgram $out/bin/equibop \
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath [ (pkgs.lib.getLib pkgs.stdenv.cc.cc) ]}"
'';
});
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];