nix/home.nix

153 lines
3.8 KiB
Nix
Raw Normal View History

2022-02-17 19:51:28 +00:00
{
pkgs,
inputs,
config,
2022-04-02 13:32:44 +00:00
doom-emacs,
2022-04-06 15:20:16 +00:00
nix-colors,
2022-02-17 19:51:28 +00:00
...
2022-02-27 20:57:58 +00:00
}: {
2022-05-14 02:01:25 +00:00
# }: let
2022-04-06 15:20:16 +00:00
# Define Colorscheme
colorscheme = {
slug = "tokyonight";
name = "Tokyo Night";
kind = "dark";
author = "The Hedgehog (https://github.com/theHedgehog0)";
2022-04-06 15:20:16 +00:00
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";
};
};
2022-05-14 02:01:25 +00:00
# in {
2022-04-06 15:20:16 +00:00
imports = [
2022-02-27 20:57:58 +00:00
# Wayland
2022-06-25 02:45:04 +00:00
./home/wayland/sway.nix
2022-02-07 20:06:51 +00:00
# Home-manager programs
2022-02-07 01:24:15 +00:00
./home/programs/atuin.nix
2022-04-06 15:20:16 +00:00
./home/programs/chromium.nix
./home/programs/direnv.nix
2022-05-03 12:57:13 +00:00
./home/programs/emacs/default.nix
2022-02-27 20:57:58 +00:00
./home/programs/firefox.nix
2022-02-07 01:24:15 +00:00
./home/programs/fish
./home/programs/git.nix
./home/programs/gh.nix
./home/programs/gpg.nix
./home/programs/kitty.nix
./home/programs/navi.nix
2022-04-06 15:20:16 +00:00
./home/programs/ncmpcpp.nix
2022-02-07 01:24:15 +00:00
./home/programs/neovim/default.nix
./home/programs/nix-index.nix
./home/programs/nnn.nix
./home/programs/nushell.nix
2022-05-14 02:01:25 +00:00
./home/programs/pandoc.nix
2022-02-07 01:24:15 +00:00
./home/programs/rofi.nix
2022-02-07 11:26:13 +00:00
./home/programs/skim.nix
2022-04-24 02:53:34 +00:00
./home/programs/ssh/default.nix
2022-02-07 01:24:15 +00:00
./home/programs/starship.nix
2022-02-08 14:16:14 +00:00
./home/programs/taskwarrior.nix
2022-06-25 02:45:22 +00:00
./home/programs/vscodium.nix
2022-05-08 19:57:26 +00:00
./home/programs/waybar.nix
2022-08-03 19:43:57 +00:00
./home/programs/wezterm/default.nix
2022-02-07 01:24:15 +00:00
./home/programs/zoxide.nix
2022-04-24 02:56:18 +00:00
./home/programs/zsh.nix
2022-02-07 20:06:51 +00:00
# Home-manager services
# ./home/services/emacs.nix
2022-02-08 14:16:14 +00:00
./home/services/gpg-agent.nix
./home/services/kanshi.nix
./home/services/kdeconnect.nix
2022-04-06 15:20:16 +00:00
./home/services/mpd.nix
2022-06-25 02:45:51 +00:00
./home/services/syncthing.nix
2022-06-25 02:45:37 +00:00
# ./home/services/taskwarrior-sync.nix
2022-02-11 18:10:00 +00:00
# Email config
./home/email.nix
2022-02-19 22:20:19 +00:00
# Packages
./home/packages.nix
# XDG Files
./home/files/bat-theme.nix
2022-05-12 22:15:17 +00:00
./home/files/doom.nix
./home/files/fontconfig.nix
2022-07-23 21:53:58 +00:00
./home/files/pamKeys.nix
./home/files/rbw-gc.nix
./home/files/ssh-auth-signers.nix
2022-03-29 17:58:10 +00:00
./home/files/swaylock.nix
./home/files/tridactylcolors.nix
./home/files/tridactylrc.nix
2022-03-24 22:04:10 +00:00
# GTK Config
./home/gtk.nix
2022-04-02 13:32:44 +00:00
# Old config files
./home/oldconfig.nix
2022-04-24 02:53:51 +00:00
# XDG Configuration
./home/xdg.nix
2022-04-26 11:56:27 +00:00
# Cross-shell aliases
./home/aliases.nix
2022-05-12 22:16:32 +00:00
# Home Manager activation scripts
./home/scripts.nix
2022-02-07 01:24:15 +00:00
];
2022-02-04 12:53:04 +00:00
home = {
2022-02-27 20:57:58 +00:00
file.".icons/default".source = "${pkgs.phinger-cursors}/share/icons/phinger-cursors";
2022-03-29 17:58:21 +00:00
file.".local/share/fonts" = {
2022-05-14 02:01:25 +00:00
source =
config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/.nix-profile/share/fonts";
2022-03-29 17:58:21 +00:00
recursive = true;
};
# homeDirectory = pkgs.lib.mkForce "/home/thehedgehog";
2022-06-10 20:19:43 +00:00
username = "thehedgehog";
stateVersion = "22.11";
2022-02-11 18:10:00 +00:00
sessionVariables = {
PASSWORD_STORE_ENABLE_EXTENSIONS = true;
GOPASS_GPG_OPTS = "--no-throw-keyids";
2022-07-20 15:52:50 +00:00
XDG_DATA_DIRS = "/home/thehedgehog/.nix-profile/share:/home/thehedgehog/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share";
GNUPGHOME = "/home/thehedgehog/.gnupg";
2022-07-10 15:01:08 +00:00
WLR_NO_HARDWARE_CURSORS = 1;
2022-07-20 15:52:50 +00:00
XDG_CONFIG_HOME = "/home/thehedgehog/.config";
2022-02-11 18:10:00 +00:00
};
2022-05-14 02:01:25 +00:00
language = {base = "en_US.utf8";};
2022-02-04 12:53:04 +00:00
};
programs = {
home-manager.enable = true;
2022-02-07 01:24:15 +00:00
bat = {
2022-02-04 12:53:04 +00:00
enable = true;
config = {theme = "tokyo-night";};
2022-02-04 12:53:04 +00:00
};
2022-02-07 01:24:15 +00:00
exa = {
2022-02-04 12:53:04 +00:00
enable = true;
2022-02-07 01:24:15 +00:00
enableAliases = false;
2022-02-04 12:53:04 +00:00
};
2022-02-07 01:24:15 +00:00
himalaya.enable = true;
mpv.enable = true;
2022-02-04 12:53:04 +00:00
};
2022-02-08 14:16:14 +00:00
2022-02-15 11:11:24 +00:00
xdg.configFile = {
2022-05-14 02:01:25 +00:00
"nvim/init.generated.lua".text =
config.programs.neovim.generatedConfigs.lua;
2022-02-15 11:11:24 +00:00
};
2022-07-22 19:10:50 +00:00
# fonts.fontconfig.enable = true;
2022-02-08 14:16:14 +00:00
targets.genericLinux.enable = true;
2022-02-04 12:53:04 +00:00
}