nix/home.nix
2022-05-08 15:57:26 -04:00

136 lines
3.2 KiB
Nix

{
pkgs,
inputs,
config,
doom-emacs,
nix-colors,
...
}: {
# }: let
# Define Colorscheme
colorscheme = {
slug = "tokyonight";
name = "Tokyo Night";
kind = "dark";
author = "Mr Hedgehog (https://github.com/ModdedGamers)";
colors = {
base00 = "1a1b26";
base01 = "f7768e";
base02 = "73daca";
base03 = "e0af68";
base04 = "7aa2f7";
base05 = "bb9af7";
base06 = "7dcfff";
base07 = "c0caf5";
base08 = "565f89";
base09 = "f7768e";
base0A = "73daca";
base0B = "e0af68";
base0C = "7aa2f7";
base0D = "bb9af7";
base0E = "7dcfff";
base0F = "c0caf5";
};
};
# in {
imports = [
# Wayland
# ./home/wayland/sway.nix
# Home-manager programs
./home/programs/atuin.nix
./home/programs/chromium.nix
./home/programs/direnv.nix
./home/programs/emacs/default.nix
./home/programs/firefox.nix
./home/programs/fish
./home/programs/git.nix
./home/programs/gh.nix
./home/programs/gpg.nix
./home/programs/kitty.nix
./home/programs/navi.nix
./home/programs/ncmpcpp.nix
./home/programs/neovim/default.nix
./home/programs/nix-index.nix
./home/programs/nnn.nix
./home/programs/nushell.nix
./home/programs/rofi.nix
./home/programs/skim.nix
./home/programs/ssh/default.nix
./home/programs/starship.nix
./home/programs/taskwarrior.nix
./home/programs/waybar.nix
./home/programs/zoxide.nix
./home/programs/zsh.nix
# Home-manager services
# ./home/services/emacs.nix
./home/services/gpg-agent.nix
./home/services/kanshi.nix
./home/services/kdeconnect.nix
./home/services/mpd.nix
./home/services/taskwarrior-sync.nix
# Email config
./home/email.nix
# Packages
./home/packages.nix
# XDG Files
./home/files/fontconfig.nix
./home/files/swaylock.nix
./home/files/rbw-gc.nix
# GTK Config
./home/gtk.nix
# Old config files
./home/oldconfig.nix
# XDG Configuration
./home/xdg.nix
# Cross-shell aliases
./home/aliases.nix
];
home = {
file.".icons/default".source = "${pkgs.phinger-cursors}/share/icons/phinger-cursors";
file.".local/share/fonts" = {
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.nix-profile/share/fonts";
recursive = true;
};
homeDirectory = "/home/mrhedgehog";
username = "mrhedgehog";
stateVersion = "22.05";
sessionVariables = {
PASSWORD_STORE_ENABLE_EXTENSIONS = true;
GOPASS_GPG_OPTS = "--no-throw-keyids";
XDG_DATA_DIRS = "/home/mrhedgehog/.nix-profile/share:/home/mrhedgehog/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share";
GNUPGHOME = "/home/mrhedgehog/.gnupg";
};
language = {
base = "en_US.utf8";
};
};
programs = {
home-manager.enable = true;
bat = {
enable = true;
config = {theme = "Dracula";};
};
exa = {
enable = true;
enableAliases = false;
};
himalaya.enable = true;
mpv.enable = true;
};
xdg.configFile = {
"nvim/init.generated.lua".text = config.programs.neovim.generatedConfigs.lua;
};
fonts.fontconfig.enable = true;
targets.genericLinux.enable = true;
}