add: gallium-nine

This commit is contained in:
elwrcl committed 2026-04-10 22:21:19 +03:00
1 parent f9672724e4
commit af1a5c3998
1 file changed
+38 -31
+38 -31
View File
@@ -44,38 +44,45 @@
copetch = inputs.copetch.packages.${system}.default;
};
in {
nixosConfigurations = {
copland = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system;
zen-browser = inputs.zen-browser;
nix-cachyos-kernel = nix-cachyos-kernel;
mesaOverlay = final: prev: {
mesa = prev.mesa.overrideAttrs (old: {
mesonFlags = (old.mesonFlags or [ ]) ++ [ "-Dgallium-nine=true" ];
});
};
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
];
};
};
};
}