Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ source by.
| `treefmt` | `treefmt-nix` | the formatters of a source tree, as treefmt-nix modules; the configuration named `formatter` is published as the `formatter.<system>` that `nix fmt` runs |
| `nvf` | `nvf` | a Neovim written as nvf modules, published as `nvfConfigurations.<system>.<name>`, in the shape `neovimConfiguration` returns, kept in a separate Nix profile that the NixOS configuration, home-manager configuration or hjem configuration it is declared inside activates |
| `nixvim` | `nixvim` | a Neovim written as nixvim modules, published as `nixvimConfigurations.<system>.<name>`, kept in a profile as an nvf configuration is |
| `nemacs` | none | an Emacs written as nemacs modules, whose `core` module the flake of nemacs registers; published as `nemacsConfigurations.<system>.<name>` with its `package` and its `activationPackage`, kept in a profile as an nvf configuration is |
| `nemacs` | none | an Emacs written as nemacs modules, whose `core` module the flake of nemacs registers; published as `nemacsConfigurations.<system>.<name>` with its `package`, its `activationPackage` and its `profile`, kept in a profile as an nvf configuration is |
| `topology` | `nix-topology` | the diagram of the NixOS configurations declared inside it, as nix-topology renders it; the configuration named `topology` is published as `topology.<system>` |
| `kubenix` | `kubenix` | Kubernetes resources written as kubenix modules, published as `kubenixConfigurations.<system>.<name>`, the evaluation result, whose `config.kubernetes.result` is the JSON `kubectl apply -f` reads |
| `nixidy` | `nixidy` | an Argo CD environment written as nixidy modules, evaluated with nixidy's `mkEnv` and published as the `nixidyEnvs.<system>.<name>` the nixidy CLI reads |
Expand Down
7 changes: 4 additions & 3 deletions lib-overlays/nemacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
# The output is `package`, the editor, the `config.build.package` of
# the evaluation. A configuration is published as
# `nemacsConfigurations.<system>.<name>`: `package`, `activationPackage`,
# `config` and `options`, where `activationPackage` holds the `activate`
# of the profile described next.
# `profile`, `config` and `options`, where `activationPackage` holds the
# `activate` of the profile described next, and `profile` says where
# that profile is.
#
# A nemacs configuration is kept in a separate Nix profile, the way a
# home-manager configuration keeps its generations
Expand Down Expand Up @@ -137,7 +138,7 @@
attrset = "nemacsConfigurations";
bySystem = true;
value = manifest: {
inherit (manifest.outputs) package activationPackage;
inherit (manifest.outputs) package activationPackage profile;
inherit (manifest.value) config options;
};
};
Expand Down
1 change: 1 addition & 0 deletions tests/pinned-world/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5624,6 +5624,7 @@ let
&& published.config.bundles.hello.enable
&& published.options ? build
&& builtins.isString published.activationPackage.drvPath
&& published.profile.path == "$HOME/.local/state/caisson/profiles/nemacs/editor"
&&
builtins.attrNames top.nemacsConfigurations.x86_64-linux == [
"editor"
Expand Down
Loading