[WIP] Several things

- Doom emacs `tree-sitter`
- CI for `beebox`
- PGtk Emacs
This commit is contained in:
Andrea Ciceri 2022-10-18 15:52:13 +02:00
parent b70881fad3
commit a9d14ae3d2
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
10 changed files with 75 additions and 33 deletions

View file

@ -1,13 +1,21 @@
{
pkgs,
config,
lib,
...
}: {
programs.emacs.enable = true;
programs.emacs = {
enable = true;
package = lib.mkForce (pkgs.emacs28NativeComp.override {
# FIXME `mkForce` shouldn't be needed
nativeComp = true;
withSQLite3 = true;
withGTK3 = true;
});
};
programs.doom-emacs = {
enable = true;
package = pkgs.emacs28NativeComp;
doomPrivateDir = ../../doom.d;
};

View file

@ -0,0 +1,32 @@
{
config,
pkgs,
...
}: {
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
systemd.user.services.nix-index-update = {
Unit = {Description = "Update nix-index";};
Service = {
CPUSchedulingPolicy = "idle";
IOSchedulingClass = "idle";
ExecStart = "${pkgs.nix-index}/bin/nix-index --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}";
};
};
systemd.user.timers.nix-index-update = {
Unit = {Description = "Update nix-index";};
Timer = {
Unit = "nix-index-update.service";
OnCalendar = "OnCalendar=monday *-*-* 10:00:00";
Persistent = true;
};
Install = {WantedBy = ["timers.target"];};
};
}

View file

@ -80,32 +80,5 @@
'';
};
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
systemd.user.services.nix-index-update = {
Unit = {Description = "Update nix-index";};
Service = {
CPUSchedulingPolicy = "idle";
IOSchedulingClass = "idle";
ExecStart = "${pkgs.nix-index}/bin/nix-index --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}";
};
};
systemd.user.timers.nix-index-update = {
Unit = {Description = "Update nix-index";};
Timer = {
Unit = "nix-index-update.service";
OnCalendar = "OnCalendar=monday *-*-* 10:00:00";
Persistent = true;
};
Install = {WantedBy = ["timers.target"];};
};
home.packages = with pkgs; [thefuck];
home.packages = with pkgs; [thefuck htop-vim dig.dnsutils];
}