From 988c9b4d79d502294c3309d193987f776af5c676 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Mon, 5 May 2025 08:41:22 -0300 Subject: chore(emacs): re-expose emacs as a package output in the flake --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c9b988a..1054d01 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,10 @@ outputs = { self, nixpkgs, deploy-rs, ... } @ inputs : let inherit (builtins) readDir attrNames listToAttrs split head; + pkgs = import nixpkgs { + overlays = [ (inputs.emacs-overlay.overlays.default) ]; + system = "x86_64-linux"; + }; modules = map (p: ./modules/${p}) (attrNames (readDir ./modules)); make-config-named = host: nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; @@ -33,6 +37,7 @@ nixos-configs = map (h: { name= h; value = make-config-named h;}) hosts-names; in rec { nixosConfigurations = listToAttrs nixos-configs; + packages.x86_64-linux.emacs = pkgs.callPackage ./modules/emacs/package.nix {}; deploy.nodes.iori = { hostname = "ssh.santi.net.br"; remoteBuild = true; -- cgit v1.2.3