nixos-flake
nixos-flake copied to clipboard
A flake-parts module to manage NixOS and macOS machines, along with home-manager support, in a unified fashion.
cf. https://github.com/juspay/nix-dev-home/blob/b772f2e3408fd3244b1155d41dd86f19dbd61876/home.nix#L25-L28
https://nix.dev/tutorials/integration-testing-using-virtual-machines We want to test that running `nix run .#activate` (on `./examples/*`) will do what it is supposed to do.
For the macOS only template when used on a new Mac Studio: https://community.flake.parts/nixos-flake/templates#macos
cf. https://github.com/DeterminateSystems/nuenv/issues/3#issuecomment-2225699571 --- Either use https://github.com/DeterminateSystems/nuenv/pull/27 (as new flake input) or include that snippet in this repo to avoid yet another flake input (https://github.com/DeterminateSystems/nuenv/discussions/28). Consider supporting things like #61 in...
Hi, previously, with the Nix version of `#activate`, we were able to provide custom arguments to the function that would be passed on to `nixos-rebuild`, such as `--show-trace`. Now, with...
After #54 is merged (In combination with `--json` we could use it to test the `.#activate` app thoroughly)
And then add `nufmt` as a formatter after #54 is merged Nix files should be formatted as well.
https://github.com/nix-community/home-manager/issues/3075
Notice that the top-level nix's arguments are not passed to the home-manager command (assuming it can even support it). But we basically want the cache config to propagate to inner...