Skip to content

Conversation

@jim3692
Copy link
Collaborator

@jim3692 jim3692 commented Nov 26, 2025

Tasks:

  • Expose as an importable library
  • Ability to build
  • Track configuration location for compatibility with icedos rebuild
  • Keep separate flake.lock for NixOS
  • Backwards compatibility with current (clone-based) configurations
  • Integration with icedos update, to update the icedos input of the Flake
  • Update readme

Example flake.nix:

{
  inputs.icedos.url = "github:IceDOS/core";

  outputs =
    { icedos, self, ... }:
    icedos.lib.mkIceDOS {
      configRoot = self;
    };
}

More details:

  • The user's config.toml must be on the same path as the user's flake.nix
  • The user may add an extra-modules directory in the flake.nix's path, that behaves like the current .private
  • The icedos/core input must be named icedos

@IceDBorn IceDBorn self-requested a review November 26, 2025 16:35
@IceDBorn IceDBorn self-assigned this Nov 26, 2025
@IceDBorn IceDBorn added the enhancement New feature or request label Nov 26, 2025
@IceDBorn IceDBorn force-pushed the feature/icedos-as-a-flake branch from 3a92e91 to e02c641 Compare November 26, 2025 20:38
@IceDBorn IceDBorn force-pushed the feature/icedos-as-a-flake branch from 1c16785 to 8395952 Compare November 27, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants