home-manager: add stuff

This commit is contained in:
surtur 2022-12-03 20:41:37 +01:00
parent d7ed36e4b9
commit 094ee9fa80
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -3,17 +3,14 @@
pkgs,
homeage,
...
}: {
}: let
hostName = "surtur";
in {
home.username = "$USER";
home.sessionVariables.HOSTNAME = "${hostName}";
home.homeDirectory = "/home/$USER";
home.stateVersion = "22.11";
home.activation = {
checkBemenuDraculaInZshDir = lib.hm.dag.entryAfter ["writeBoundary"] ''
$DRY_RUN_CMD test -d .zsh/bemenu-dracula || echo "TODO: link bemenu-dracula to .zsh"
'';
};
homeage = {
# Absolute path to identity (created not through home-manager)
identityPaths = [
@ -50,17 +47,35 @@
source = .config/kitty/kitty.conf;
};
".vim/deoplete.vimrc.vim" = {
source = ./.vim/deoplete.vimrc.vim;
};
".vim/gotags.vimrc.vim" = {
source = ./.vim/gotags.vimrc.vim;
};
".config/fusuma/config-wl.yml" = {
source = ./.config/fusuma/config-wl.yml;
};
".config/fusuma/config.yml" = {
source = ./.config/fusuma/config.yml;
};
# begin zsh-related.
".zshenv" = {
source = ./.zshenv;
};
".zsh/aliases.zsh" = {
source = .zsh/aliases.zsh;
".zsh" = {
source = ./.zsh;
recursive = true;
};
".zsh/functions.zsh" = {
source = .zsh/functions.zsh;
".zsh/bemenu-dracula" = {
source = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "bemenu";
rev = "9b1165b3d97e3b2a74c6ce220781b78d8a11febf";
sha256 = "sha256-TwfkEZ1aTkHur+jCqRsaqvzOw6qpH0L4pvYqkx7iCDk=";
};
};
# end zsh-related.