mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
add: gallium-nine
This commit is contained in:
1 parent
f9672724e4
commit
af1a5c3998
1 file changed
+38
-31
@@ -44,38 +44,45 @@
|
|||||||
copetch = inputs.copetch.packages.${system}.default;
|
copetch = inputs.copetch.packages.${system}.default;
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
mesaOverlay = final: prev: {
|
||||||
nixosConfigurations = {
|
mesa = prev.mesa.overrideAttrs (old: {
|
||||||
copland = nixpkgs.lib.nixosSystem {
|
mesonFlags = (old.mesonFlags or [ ]) ++ [ "-Dgallium-nine=true" ];
|
||||||
specialArgs = {
|
});
|
||||||
inherit inputs system;
|
};
|
||||||
zen-browser = inputs.zen-browser;
|
|
||||||
nix-cachyos-kernel = nix-cachyos-kernel;
|
in
|
||||||
|
{
|
||||||
|
nixosConfigurations = {
|
||||||
|
copland = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = {
|
||||||
|
inherit inputs system;
|
||||||
|
zen-browser = inputs.zen-browser;
|
||||||
|
nix-cachyos-kernel = nix-cachyos-kernel;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{ nixpkgs.hostPlatform = system; }
|
||||||
|
chaotic.nixosModules.default
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [ chaoticOverlay cachyosKernelOverlay copetchOverlay mesaOverlay ];
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit inputs system; };
|
||||||
|
users.elars = import ./home;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
./machine.nix
|
||||||
|
./nixos/default.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
|
||||||
{ nixpkgs.hostPlatform = system; }
|
|
||||||
chaotic.nixosModules.default
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
|
|
||||||
{
|
|
||||||
nixpkgs.overlays = [ chaoticOverlay cachyosKernelOverlay ];
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
extraSpecialArgs = { inherit inputs system; };
|
|
||||||
users.elars = import ./home;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
./machine.nix
|
|
||||||
./nixos/default.nix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user