2023-09-01 20:19:14 +01:00
|
|
|
{ config, pkgs, callPackage, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(import (builtins.fetchTarball {
|
|
|
|
url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
|
|
|
|
sha256 = "11knjfj2gnj8y6jy4xali11g86clq7jmy5ndzy1gg0yy1y72xrhm";
|
|
|
|
}))
|
|
|
|
];
|
|
|
|
|
|
|
|
home.username = "gsimmer";
|
|
|
|
home.homeDirectory = "/Primary/gabriel";
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
programs.bash.enable = false;
|
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
interactiveShellInit = ''
|
|
|
|
set fish_greeting
|
|
|
|
if test "$TERM" = "dumb"
|
|
|
|
function fish_prompt
|
|
|
|
echo "\$ "
|
|
|
|
end
|
|
|
|
|
|
|
|
function fish_right_prompt; end
|
|
|
|
function fish_greeting; end
|
|
|
|
function fish_title; end
|
|
|
|
end
|
|
|
|
atuin init fish | source
|
|
|
|
'';
|
|
|
|
loginShellInit = ''
|
|
|
|
if test "$TERM" = "dumb"
|
|
|
|
function fish_prompt
|
|
|
|
echo "\$ "
|
|
|
|
end
|
|
|
|
|
|
|
|
function fish_right_prompt; end
|
|
|
|
function fish_greeting; end
|
|
|
|
function fish_title; end
|
|
|
|
end
|
|
|
|
'';
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "z";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "jethrokuan";
|
|
|
|
repo = "z";
|
|
|
|
rev = "e0e1b9dfdba362f8ab1ae8c1afc7ccf62b89f7eb";
|
|
|
|
sha256 = "0dbnir6jbwjpjalz14snzd3cgdysgcs3raznsijd6savad3qhijc";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-09-09 22:53:50 +01:00
|
|
|
|
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
extraOptions = [ "--gui-address=100.116.48.47:8384" ];
|
|
|
|
};
|
2023-09-01 20:19:14 +01:00
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# services.lorri.enable = true;
|
|
|
|
|
|
|
|
programs.emacs = {
|
|
|
|
enable = false;
|
|
|
|
package = pkgs.emacs-unstable-pgtk;
|
|
|
|
extraPackages = epkgs: [
|
|
|
|
epkgs.vterm
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-09-09 22:53:50 +01:00
|
|
|
programs.eza = {
|
2023-09-01 20:19:14 +01:00
|
|
|
enable = true;
|
|
|
|
enableAliases = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = with pkgs; [ ];
|
|
|
|
|
|
|
|
# This value determines the Home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new Home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value. See
|
|
|
|
# the Home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|