mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +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;
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user