use self instead of inputs

This commit is contained in:
jopejoe1 2023-07-27 13:30:48 +02:00
parent 6d2057acd5
commit dcb34a132f

View file

@ -1,4 +1,4 @@
{ pkgs, prismlauncher, nur, inputs, ... }: { pkgs, prismlauncher, nur, self, ... }:
{ {
nixpkgs = { nixpkgs = {
@ -11,13 +11,13 @@
(self: super: { (self: super: {
tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: { tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: {
src = inputs.tela-icon-theme; src = self.inputs.tela-icon-theme;
}); });
prismlauncher = super.prismlauncher.overrideAttrs (old: { prismlauncher = super.prismlauncher.overrideAttrs (old: {
patches = (old.patches or []) ++ [ patches = (old.patches or []) ++ [
inputs.prism-game-options-patch self.inputs.prism-game-options-patch
inputs.prism-ftb-patch self.inputs.prism-ftb-patch
]; ];
}); });
@ -43,5 +43,10 @@
]; ];
}; };
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
system.stateVersion = "23.05"; system.stateVersion = "23.05";
} }