config: replace mood-line with nano-modeline

This commit is contained in:
Artur Manuel 2025-03-25 19:43:11 +00:00
commit 7c3badaa42
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
3 changed files with 41 additions and 33 deletions

View file

@ -14,23 +14,16 @@
systems = [
"x86_64-linux"
];
forAllSystems = lib.genAttrs systems;
pkgs = builtins.listToAttrs (
map (system: {
name = system;
value = import inputs.nixpkgs {
inherit system;
};
}) systems
);
pkgsFor = inputs.nixpkgs.legacyPackages;
forAllSystems = f: lib.genAttrs systems (system: f system pkgsFor.${system});
in
{
lib = import ./lib.nix inputs;
formatter = forAllSystems (system: pkgs.${system}.nixfmt-rfc-style);
packages = forAllSystems (system: {
formatter = forAllSystems (_: pkgs: pkgs.nixfmt-rfc-style);
packages = forAllSystems (_: pkgs: {
pgtk = inputs.self.lib.mkPankomacs {
pkgs = pkgs.${system};
emacs = pkgs.${system}.emacs30-pgtk;
inherit pkgs;
emacs = pkgs.emacs30-pgtk;
};
});
};