NUR integration

This commit is contained in:
randogoth 2026-02-12 07:39:10 +02:00
parent a69ade9f8b
commit 60b0b4e88e
4 changed files with 124 additions and 4 deletions

View file

@ -10,11 +10,32 @@
nix-flatpak = {
url = "github:gmodena/nix-flatpak/?ref=latest";
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, nix-flatpak, ... }: {
outputs = {
nixpkgs,
home-manager,
nix-flatpak,
nur,
...
}: {
homeConfigurations."@ADMIN_USER@" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = import nixpkgs {
system = "x86_64-linux";
config = { allowUnfree = true; };
overlays = [
(final: prev: {
nur = import nur {
pkgs = final;
nurpkgs = final;
};
})
];
};
modules = [
nix-flatpak.homeManagerModules.nix-flatpak
./home.nix