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
  • Integration with icedos update, to update the icedos input of the Flake
  • Update readme
  • Fix update broken behavior
  • Fix icedos-config being updated on each run

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 e02c641 to 1c16785 Compare November 27, 2025 00:19
@IceDBorn IceDBorn force-pushed the feature/icedos-as-a-flake branch from 1c16785 to 8395952 Compare November 27, 2025 09:04
@IceDBorn IceDBorn force-pushed the main branch 6 times, most recently from 338d285 to f3bcab1 Compare December 16, 2025 23:31
@IceDBorn IceDBorn force-pushed the main branch 3 times, most recently from 32d0be8 to e90a04f Compare January 21, 2026 06:38
@CrazyStevenz CrazyStevenz removed their request for review January 21, 2026 21:57
@jim3692 jim3692 force-pushed the feature/icedos-as-a-flake branch 2 times, most recently from 394ffb5 to 8395952 Compare January 29, 2026 18:44
@jim3692 jim3692 force-pushed the feature/icedos-as-a-flake branch from 8395952 to d3bacb8 Compare January 29, 2026 19:12
Copy link
Contributor

@IceDBorn IceDBorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only problem I’ve encountered is that the icedos-config input in .state/flake.lock updates on every run, whereas other inputs stay unchanged when updating.

@IceDBorn IceDBorn force-pushed the feature/icedos-as-a-flake branch from e428772 to acf330f Compare January 31, 2026 05:24
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