mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-09 16:38:40 +00:00
Add ripgrep and emacs
This commit is contained in:
@@ -166,6 +166,13 @@ let
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
let
|
||||
my-python-packages = python-packages: [
|
||||
];
|
||||
python = pkgs.python3.withPackages my-python-packages;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
imports = [ <home-manager/nix-darwin> ];
|
||||
@@ -181,8 +188,15 @@ in
|
||||
pkgs.alacritty
|
||||
pkgs.keepassxc
|
||||
vscode-with-extensions
|
||||
python
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import (builtins.fetchTarball {
|
||||
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
||||
}))
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"vscode"
|
||||
"vscode-with-extensions"
|
||||
|
19
home.nix
19
home.nix
@@ -1,6 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
@@ -34,8 +35,14 @@
|
||||
pkgs.elan
|
||||
pkgs.protonmail-bridge
|
||||
pkgs.handbrake
|
||||
pkgs.ripgrep
|
||||
];
|
||||
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacsGcc;
|
||||
};
|
||||
|
||||
programs.tmux = {
|
||||
shell = "\${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
@@ -116,4 +123,16 @@ let g:syntastic_check_on_wq = 0''; }
|
||||
programs.neovim.extraConfig = builtins.readFile ./init.vim;
|
||||
|
||||
home.file.".config/youtube-dl/config".source = ./youtube-dl.conf;
|
||||
|
||||
home.file.".emacs.d" = {
|
||||
# don't make the directory read only so that impure melpa can still happen
|
||||
# for now
|
||||
recursive = true;
|
||||
source = pkgs.fetchFromGitHub {
|
||||
owner = "syl20bnr";
|
||||
repo = "spacemacs";
|
||||
rev = "59852a6ab52911ac76bb22aa8642ccef48238349";
|
||||
sha256 = "0m634adqnwqvi8d7qkq7nh8ivfz6cx90idvwd2wiylg4w1hly252";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user