feat(emacs): init emacs

This commit is contained in:
Artur Manuel 2025-02-04 15:59:46 +00:00
commit 711aa9dc0e
3 changed files with 22 additions and 15 deletions

26
flake.lock generated
View file

@ -9,11 +9,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1738535544, "lastModified": 1738675414,
"narHash": "sha256-HR7TfT9GuQoS4bumPxhOvBuh9SaoZ98tUiyiTQ0noS4=", "narHash": "sha256-DwKipTgF2DEyNm6+Rj6FXg0DbNNNbt+h4fj9aTO4Q68=",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "143eaa3fa95b3681d058435f577ee48c2a646720", "rev": "59029b0faeee6d2d5284af29830d85fb2caa30ee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -314,11 +314,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1738410390, "lastModified": 1738546358,
"narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", "narHash": "sha256-nLivjIygCiqLp5QcL7l56Tca/elVqM9FG1hGd9ZSsrg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3a228057f5b619feb3186e986dbe76278d707b6e", "rev": "c6e957d81b96751a3d5967a0fd73694f303cc914",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -374,11 +374,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1738410390, "lastModified": 1738546358,
"narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", "narHash": "sha256-nLivjIygCiqLp5QcL7l56Tca/elVqM9FG1hGd9ZSsrg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3a228057f5b619feb3186e986dbe76278d707b6e", "rev": "c6e957d81b96751a3d5967a0fd73694f303cc914",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -636,11 +636,11 @@
"parts": "parts" "parts": "parts"
}, },
"locked": { "locked": {
"lastModified": 1738101653, "lastModified": 1738681743,
"narHash": "sha256-c5AsUms0/xj9ucFqchn8EhITRHWEyTLcmCanbY4wDgM=", "narHash": "sha256-RXI9JIFaK9TlqHe2dv/1vH+tcTiIhbSwmsyFSdC0SEE=",
"ref": "main", "ref": "main",
"rev": "322949b010ecc8e6a1d3ab3784758aca26f0e0ab", "rev": "a4ae97d6da39c9d3b9cc7a1aaef09b6f5996b059",
"revCount": 88, "revCount": 89,
"type": "git", "type": "git",
"url": "https://codeberg.org/amadaluzia/pankomacs.git" "url": "https://codeberg.org/amadaluzia/pankomacs.git"
}, },

View file

@ -15,7 +15,7 @@
; ;
neovim = inputs.painless-neovim.packages.${pkgs.system}.default; neovim = inputs.painless-neovim.packages.${pkgs.system}.default;
}; };
sessionVariables = {EDITOR = "nvim";}; sessionVariables = {EDITOR = "emacs";};
}; };
alqueva = { alqueva = {
@ -66,6 +66,13 @@
web.enable = false; web.enable = false;
}; };
rsyncd.enable = true; rsyncd.enable = true;
emacs = {
enable = true;
package = inputs.pankomacs.lib.mkEmacs {
inherit pkgs;
emacs = pkgs.emacs29-pgtk;
};
};
}; };
nix.gc.automatic = lib.mkForce false; nix.gc.automatic = lib.mkForce false;

View file

@ -50,4 +50,4 @@ alias nos = nh os
mkdir ($nu.data-dir | path join "vendor/autoload") mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu") starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
zoxide init nushell | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu") zoxide init nushell --cmd j | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu")