mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 16:06:33 +01:00
Hoping this fixes nvidia issues
This commit is contained in:
parent
f2bb64a089
commit
4016b181b0
7 changed files with 11 additions and 13 deletions
|
@ -99,7 +99,10 @@
|
|||
};
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
nixlib.url = github:nix-community/nixpkgs.lib;
|
||||
naersk.url = github:nix-community/naersk;
|
||||
naersk.url = {
|
||||
url = github:nix-community/naersk;
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flake-utils-plus = {
|
||||
url = github:gytis-ivaskevicius/flake-utils-plus;
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
|
@ -135,7 +138,7 @@
|
|||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
};
|
||||
system.stateVersion = "23.05";
|
||||
system.stateVersion = "22.11";
|
||||
services.peerix = {
|
||||
#enable = true;
|
||||
package = peerix.packages.x86_64-linux.peerix;
|
||||
|
|
|
@ -22,11 +22,11 @@ in
|
|||
kate
|
||||
carla
|
||||
xdg-ninja
|
||||
prismlauncher
|
||||
ark
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.jopejoe1 = import ./home.nix;
|
||||
home-manager.users.jopejoe1.home.stateVersion = config.system.stateVersion;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,9 +11,6 @@
|
|||
XCOMPOSECACHE = "${config.xdg.cacheHome}/X11/xcompos";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
};
|
||||
|
||||
# Do not change this version unless 100% sure updatet evrything to the new version
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
|
|
|
@ -12,5 +12,6 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
|
||||
home-manager.users.root = import ./home.nix;
|
||||
home-manager.users.root.home.stateVersion = config.system.stateVersion;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,9 +11,6 @@
|
|||
XCOMPOSECACHE = "${config.xdg.cacheHome}/X11/xcompos";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
};
|
||||
|
||||
# Do not change this version unless 100% sure updatet evrything to the new version
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
xdg = {
|
||||
|
|
|
@ -27,7 +27,7 @@ with lib;
|
|||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
#boot.kernelParams = [ "module_blacklist=i915" ];
|
||||
boot.kernelParams = [ "module_blacklist=i915" ];
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
|
|
|
@ -7,14 +7,14 @@ in
|
|||
imports = with nixos-hardware.nixosModules; [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
common-cpu-intel
|
||||
common-gpu-nvidia
|
||||
#common-gpu-nvidia
|
||||
common-pc
|
||||
common-pc-ssd
|
||||
];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
sync.enable = false;
|
||||
|
||||
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
|
||||
intelBusId = "PCI:0:2:0";
|
||||
|
@ -24,7 +24,7 @@ in
|
|||
};
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
initrd = {
|
||||
# kernelModules = [ "amdgpu" ];
|
||||
|
|
Loading…
Reference in a new issue