Created
July 16, 2024 19:03
-
-
Save PedroHLC/f639e17ac9463b557e64ea05d739ce5e to your computer and use it in GitHub Desktop.
NixOS installation media with CachyOS kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"chaotic": { | |
"inputs": { | |
"compare-to": "compare-to", | |
"flake-schemas": "flake-schemas", | |
"home-manager": "home-manager", | |
"jovian": "jovian", | |
"nixpkgs": "nixpkgs", | |
"systems": "systems", | |
"yafas": "yafas" | |
}, | |
"locked": { | |
"lastModified": 1721134628, | |
"narHash": "sha256-hUYnfPwlDfrmAHNdzRBaXeEnxpfAKYyyfJo3AFie5u8=", | |
"owner": "chaotic-cx", | |
"repo": "nyx", | |
"rev": "7eeff58148cf73cbe7d56120e244f354537f0e56", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "chaotic-cx", | |
"ref": "nyxpkgs-unstable", | |
"repo": "nyx", | |
"type": "github" | |
} | |
}, | |
"compare-to": { | |
"locked": { | |
"lastModified": 1695341185, | |
"narHash": "sha256-htO6DSbWyCgaDkxi7foPjXwJFPzGjVt3RRUbPSpNtZY=", | |
"rev": "98b8e330823a3570d328720f87a1153f8a7f2224", | |
"revCount": 2, | |
"type": "tarball", | |
"url": "https://api.flakehub.com/f/pinned/chaotic-cx/nix-empty-flake/0.1.2%2Brev-98b8e330823a3570d328720f87a1153f8a7f2224/018aba35-d228-7fa9-b205-7616c89ef4e0/source.tar.gz" | |
}, | |
"original": { | |
"type": "tarball", | |
"url": "https://flakehub.com/f/chaotic-cx/nix-empty-flake/%3D0.1.2.tar.gz" | |
} | |
}, | |
"flake-schemas": { | |
"locked": { | |
"lastModified": 1693491534, | |
"narHash": "sha256-ifw8Td8kD08J8DxFbYjeIx5naHcDLz7s2IFP3X42I/U=", | |
"rev": "c702cbb663d6d70bbb716584a2ee3aeb35017279", | |
"revCount": 21, | |
"type": "tarball", | |
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.1/018a4c59-80e1-708a-bb4d-854930c20f72/source.tar.gz" | |
}, | |
"original": { | |
"type": "tarball", | |
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.1.tar.gz" | |
} | |
}, | |
"home-manager": { | |
"inputs": { | |
"nixpkgs": [ | |
"chaotic", | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1720734513, | |
"narHash": "sha256-neWQ8eNtLTd+YMesb7WjKl1SVCbDyCm46LUgP/g/hdo=", | |
"owner": "nix-community", | |
"repo": "home-manager", | |
"rev": "90ae324e2c56af10f20549ab72014804a3064c7f", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "nix-community", | |
"repo": "home-manager", | |
"type": "github" | |
} | |
}, | |
"jovian": { | |
"inputs": { | |
"nix-github-actions": "nix-github-actions", | |
"nixpkgs": [ | |
"chaotic", | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1720697445, | |
"narHash": "sha256-IvFFc57vljkR1eP4VeNMuXJTS/POClq+ytFAadigSY0=", | |
"owner": "Jovian-Experiments", | |
"repo": "Jovian-NixOS", | |
"rev": "bba994424596df09228f5437bcf8ef7fde1fe56e", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "Jovian-Experiments", | |
"repo": "Jovian-NixOS", | |
"type": "github" | |
} | |
}, | |
"nix-github-actions": { | |
"inputs": { | |
"nixpkgs": [ | |
"chaotic", | |
"jovian", | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1690328911, | |
"narHash": "sha256-fxtExYk+aGf2YbjeWQ8JY9/n9dwuEt+ma1eUFzF8Jeo=", | |
"owner": "zhaofengli", | |
"repo": "nix-github-actions", | |
"rev": "96df4a39c52f53cb7098b923224d8ce941b64747", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "zhaofengli", | |
"ref": "matrix-name", | |
"repo": "nix-github-actions", | |
"type": "github" | |
} | |
}, | |
"nixpkgs": { | |
"locked": { | |
"lastModified": 1720957393, | |
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "NixOS", | |
"ref": "nixos-unstable", | |
"repo": "nixpkgs", | |
"type": "github" | |
} | |
}, | |
"root": { | |
"inputs": { | |
"chaotic": "chaotic", | |
"nixpkgs": [ | |
"chaotic", | |
"nixpkgs" | |
] | |
} | |
}, | |
"systems": { | |
"locked": { | |
"lastModified": 1689347949, | |
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | |
"owner": "nix-systems", | |
"repo": "default-linux", | |
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "nix-systems", | |
"repo": "default-linux", | |
"type": "github" | |
} | |
}, | |
"yafas": { | |
"inputs": { | |
"flake-schemas": [ | |
"chaotic", | |
"flake-schemas" | |
], | |
"systems": [ | |
"chaotic", | |
"systems" | |
] | |
}, | |
"locked": { | |
"lastModified": 1695926485, | |
"narHash": "sha256-wNFFnItckgSs8XeYhhv8vlJs2WF09fSQaWgw4xkDqHQ=", | |
"owner": "UbiqueLambda", | |
"repo": "yafas", | |
"rev": "7772afd6686458ca0ddbc599a52cf5d337367653", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "UbiqueLambda", | |
"repo": "yafas", | |
"type": "github" | |
} | |
} | |
}, | |
"root": "root", | |
"version": 7 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nix build .#nixosConfigurations.cachyosIso.config.system.build.isoImage | |
{ | |
description = "NixOS installation media with CachyOS kernel"; | |
inputs = { | |
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; | |
nixpkgs.follows = "chaotic/nixpkgs"; | |
}; | |
outputs = { self, nixpkgs, chaotic }: { | |
nixosConfigurations = { | |
cachyosIso = nixpkgs.lib.nixosSystem { | |
system = "x86_64-linux"; | |
modules = [ | |
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" | |
chaotic.nixosModules.default | |
({ pkgs, lib, ... }: { | |
boot.kernelPackages = pkgs.linuxPackages_cachyos; | |
boot.zfs.package = lib.mkOverride 99 pkgs.zfs_cachyos; | |
}) | |
]; | |
}; | |
}; | |
}; | |
nixConfig = { | |
extra-substituters = [ "https://nyx.chaotic.cx/" ]; | |
extra-trusted-public-keys = [ | |
"nyx.chaotic.cx-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" | |
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment