diff --git a/home/home.nix b/home/home.nix index 5eaf96c..a6a506e 100644 --- a/home/home.nix +++ b/home/home.nix @@ -94,6 +94,8 @@ in { zip unzip jq + btop + # emacs # haha # security aflplusplus diff --git a/home/programs/emacs/default.nix b/home/programs/emacs/default.nix new file mode 100644 index 0000000..b7eeadf --- /dev/null +++ b/home/programs/emacs/default.nix @@ -0,0 +1,15 @@ +{ + config, + pkgs, + callPackage, + ... +}: { + nixpkgs.overlays = [ + (import (builtins.fetchTarball { + url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; + })) + ]; + + services.emacs.package = pkgs.emacs-unstable; + services.emacs.enable = true; +} diff --git a/home/programs/programs.nix b/home/programs/programs.nix index f2536e9..d22197c 100644 --- a/home/programs/programs.nix +++ b/home/programs/programs.nix @@ -25,5 +25,6 @@ ./keepassxc/default.nix ./nf/default.nix ./beets/default.nix + ./emacs/default.nix ]; } diff --git a/home/programs/zsh/zshrc b/home/programs/zsh/zshrc index 1e03342..4898c10 100644 --- a/home/programs/zsh/zshrc +++ b/home/programs/zsh/zshrc @@ -205,6 +205,7 @@ alias ndwc="nmcli device wifi connect" alias ndwl="nmcli device wifi list" alias wt="systemctl restart NetworkManager" alias syncthing="firefox localhost:8384" +alias htop="btop" # of course stack() { find . -type f -exec echo -e "\n--- {} ---\n" \; -exec cat {} \;