fix: merge codex-cli-nix into single valid flake
Two separate flake expressions were concatenated with a comma, causing a syntax error. Merged them into one: added codex-cli-nix as an input and devShells output alongside the existing nixosConfigurations. https://claude.ai/code/session_01WbhyZRRuzioZn7F3NTuntf
This commit is contained in:
@@ -11,13 +11,19 @@
|
|||||||
url = "github:schembriaiden/helium-browser-nix-flake";
|
url = "github:schembriaiden/helium-browser-nix-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
codex-cli-nix.url = "github:sadjow/codex-cli-nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, helium-browser, ... }: {
|
outputs = { nixpkgs, home-manager, helium-browser, codex-cli-nix, ... }:
|
||||||
nixosConfigurations.chexit = nixpkgs.lib.nixosSystem {
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
nixosConfigurations.chexit = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
helium = helium-browser.packages.x86_64-linux.helium;
|
helium = helium-browser.packages.${system}.helium;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
@@ -30,20 +36,7 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
},
|
|
||||||
{
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
codex-cli-nix.url = "github:sadjow/codex-cli-nix";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, codex-cli-nix }:
|
|
||||||
let
|
|
||||||
system = "x86_64-linux"; # or your system
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
codex-cli-nix.packages.${system}.default
|
codex-cli-nix.packages.${system}.default
|
||||||
|
|||||||
Reference in New Issue
Block a user