diff --git a/configurations/host/Old-materusPC/configuration.nix b/configurations/host/Old-materusPC/configuration.nix index c810e82..ebfd75f 100755 --- a/configurations/host/Old-materusPC/configuration.nix +++ b/configurations/host/Old-materusPC/configuration.nix @@ -2,8 +2,10 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, materusArg, ... }: - +{ config, pkgs, materusCfg, materusArg, ... }: +let + unstable = import materusCfg.materusFlake.inputs.nixpkgs { system = "x86_64-linux"; config = { allowUnfree = true; nvidia.acceptLicense = true; }; }; +in { imports = [ @@ -33,7 +35,7 @@ }; boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; - boot.kernelPackages = pkgs.linuxPackages_zen; + boot.kernelPackages = unstable.linuxPackages_zen; boot.tmp.useTmpfs = true; services.flatpak.enable = true; @@ -231,7 +233,7 @@ fonts.fontDir.enable = true; fonts.enableDefaultPackages = true; - fonts.fonts = with pkgs; [ + fonts.packages = with pkgs; [ dejavu_fonts hack-font noto-fonts diff --git a/configurations/host/Old-materusPC/nvidia.nix b/configurations/host/Old-materusPC/nvidia.nix index 2b0352c..2596fb4 100644 --- a/configurations/host/Old-materusPC/nvidia.nix +++ b/configurations/host/Old-materusPC/nvidia.nix @@ -2,7 +2,7 @@ { services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { - package = config.boot.kernelPackages.nvidiaPackages.stable; + package = config.boot.kernelPackages.nvidiaPackages.latest; modesetting.enable = true; nvidiaSettings = true;