flake-utils-plus
emacs-overlay
flake-utils-plus | emacs-overlay | |
---|---|---|
19 | 34 | |
445 | 461 | |
- | 1.3% | |
4.9 | 10.0 | |
3 days ago | about 17 hours ago | |
Nix | Nix | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flake-utils-plus
-
[Question] When using flakes, can I remove all channels?
You don't need channels to use nix-shell or nix-env. You can generate the Nix path and registry from your flake inputs. flake-utils-plus makes this easy with nix.generateRegistryFromInputs and nix.generateNixPathFromInputs.
-
How do I deploy a configuration to a machine with an existing hardware-configuration.nix?
Use flake-utils-plus to easily define multiple systems in flake.nix.and then use the --target-host flag of nixos-rebuild to deploy it remotely.
-
Have a shell command in configuration.nix that runs on nixos-rebuild
If you're trying to handle multiple systems with one config a flake is a significantly better option. I would personally recommend looking at flake-utils-plus and specifically this example config.
- Nix Flakes
-
Best way to manage multiple home manager configs for both NixOS and non-NixOS systems using flakes?
I looked at some past threads / examples and saw people recommend flake-utils-plus, but after reading the examples I don't understand how I would get home-manager on Darwin or Ubuntu.
-
Nix: Taming Unix with Functional Programming
Depending on your specific needs, the channelsConfig (modify arguments passed to Nixpkgs) and overlay tooling in flake-utils-plus may be adequate: https://github.com/gytis-ivaskevicius/flake-utils-plus/tree/...
-
What to do...
For flakes you don't have to set up everything manually there are helper libraries, I use flake-utils-plus.
-
How shall I install a package not found at https://search.nixos.org/packages?
Converting to flakes is not that hard if you use a good library. The documentation is other people's configs, really.
-
I made a thing you can load in Nix repl to get variables from your NixOS configuration
Neat! I've been using flake-utils-plus's implementation until now. https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/repl.nix
-
How to use a patched nixpkgs locally?
I use flake-utils-plus based configuration to apply patches on top of nixpkgs where overlays don't suffice.
emacs-overlay
-
Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
The project uses this overlay: https://github.com/nix-community/emacs-overlay
What that means is if something is broken in Emacs, the community will fix it, and all I need to do is run `nix flake update` to grab the latest commit and then `nix run .#build-switch` to alter my system. Easy.
Thanks for the heads-up on the 404s! I've fixed those links.
In re: to org-agenda, I don't use that as much anymore. But I heavily, heavily using org-roam w/ org-roam-dailies everyday to build my own networked graph of notes. For tasks, nowadays I just use simple docs for projects and Asana to keep a catalog of everything.
-
NixOS&(Home-Manager) Flake/Overlays Help
Im a newish NixOS user, Ive used it like 20 times before but always quit because I couldnt debug errors, trying not to give up for the 20th time this time lmao; so Ive been trying to learn how to use overlays & flakes for a couple of days now. The ones I want to use/enable are: - Emacs-Overlay - Spicetify-Nix
- My First Impressions of Nix
-
Which package manager should I use?
Nix offers the same advantage through the use of emacs-overlay. Besides, Nixpkgs contains more Linux packages than any other distros. Depending on the user's needs, Nix is another option.
-
It looks like the kellyk Emacs PPA is no longer maintained. Are there any alternatives?
You can use this overlay to get the latest https://github.com/nix-community/emacs-overlay
-
Will any emacs package manager let me audit packages before installing them?
Depending on your goals, emacs-overlay is also worth a look.
-
dired navigation without infinite buffers
{ pkgs ? import {} }: ((import (builtins.fetchTarball { url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; })) pkgs pkgs).emacsGit
-
Installing Emacs 29 on Pop! OS
One option is to install Nix and use emacs-overlay.
-
How to use Emacs 29 Tree-sitter?
You can install Nix on your mac and use https://github.com/nix-community/emacs-overlay/, which supports all the existing tree-sitter-based major modes OOB.
-
Emacs 29 is nigh What can we expect?
Its great to see both eglot and tree-sitter being merged. However, I am unhappy about the state of 'emacs configurations/distributions' right now. I have been using Doom Emacs, but the development is pretty much stalled there [0], and I don't think there is any distribution that is keeping up with these cutting-edge features (compared to the NeoVim ecosystem, let's say). Somehow it feels like I was seeing a lot more activity about Emacs configurations two-three years ago.
> Compile EmacsLisp files ahead of time
Ooh, this is interesting. Hoping to see a derivation in https://github.com/nix-community/emacs-overlay soon.
[0] I am not complaining though as Doom was the main author's personal config from the get-go. I am just pointing out a void.
What are some alternatives?
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
nixGL - A wrapper tool for nix OpenGL application [maintainer=@guibou]
use-package - A use-package declaration for simplifying your .emacs
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
lsp-mode - Emacs client/library for the Language Server Protocol
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
chemacs2 - Emacs version switcher, improved
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nix - Nix, the purely functional package manager