dotfiles/nixpkgs/home.nix

138 lines
2.5 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... } @ args:
2021-12-08 16:26:56 +01:00
let
colorType = with lib.types; (attrsOf str);
colorTheme = import ./common/colors.nix;
in
{
2021-12-13 00:35:22 +01:00
_module.args = {
inherit colorTheme;
};
2021-12-08 16:26:56 +01:00
# FIXME: this isn't really working? see shellOptions
nixpkgs.overlays = [
(import ./overlays/lib)
];
2021-12-08 16:26:56 +01:00
imports = [
2021-12-13 00:35:22 +01:00
./shellOptions.nix
./packages.nix
2021-12-11 15:29:12 +01:00
./misc/mimetypes.nix
2021-12-08 16:26:56 +01:00
./programs/alacritty.nix
./programs/comma.nix
./programs/emacs.nix
./programs/gh.nix
./programs/git.nix
./programs/ncmpcpp.nix
./programs/neovim.nix
./programs/newsboat.nix
2021-12-11 15:29:12 +01:00
./programs/qutebrowser.nix
2021-12-08 16:26:56 +01:00
./programs/rofi.nix
./programs/tmux.nix
./programs/vscode.nix
./programs/zathura.nix
2021-12-22 01:25:58 +01:00
./programs/zsh
2021-12-11 15:29:12 +01:00
./services/dunst.nix
./services/mpd.nix
./services/picom.nix
./services/stalonetray.nix
./services/sxhkd.nix
2021-12-13 00:35:22 +01:00
./secret
2021-12-08 16:26:56 +01:00
];
2021-12-13 00:35:22 +01:00
home = {
stateVersion = "21.05";
username = "h7x4";
homeDirectory = "/home/h7x4";
# enableNixpkgsReleaseCheck = true;
2021-12-08 16:26:56 +01:00
};
2021-12-13 00:35:22 +01:00
news.display = "silent";
fonts.fontconfig.enable = true;
2021-12-08 16:26:56 +01:00
programs = {
2021-12-11 15:29:12 +01:00
home-manager.enable = true;
2021-12-08 16:26:56 +01:00
bat.enable = true;
2021-12-11 15:29:12 +01:00
bottom.enable = true;
2021-12-08 16:26:56 +01:00
exa.enable = true;
feh.enable = true;
fzf = {
enable = true;
defaultCommand = "fd --type f";
};
gpg.enable = true;
irssi.enable = true;
kakoune.enable = true;
2021-12-08 16:26:56 +01:00
lazygit.enable = true;
man = {
enable = true;
generateCaches = true;
};
mpv.enable = true;
2021-12-08 16:26:56 +01:00
obs-studio.enable = true;
ssh.enable = true;
2021-12-08 16:26:56 +01:00
skim = {
enable = true;
2021-12-11 15:29:12 +01:00
defaultCommand ="fd --type f";
2021-12-08 16:26:56 +01:00
};
texlive = {
enable = true;
# packageSet = pkgs.texlive.combined.scheme-medium;
};
# xmobar.enable = true;
zoxide.enable = true;
};
2021-12-11 15:29:12 +01:00
services = {
gnome-keyring.enable = true;
dropbox.enable = true;
network-manager-applet.enable = true;
# redshift.enable = true;
2021-12-08 16:26:56 +01:00
};
2021-12-13 00:35:22 +01:00
manual = {
html.enable = true;
manpages.enable = true;
json.enable = true;
};
gtk = {
enable = true;
font = {
name = "Droid Sans";
};
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
theme = {
package = pkgs.vimix-gtk-themes;
name = "VimixDark";
};
};
qt = {
enable = true;
platformTheme = "gtk";
style = {
name = "adwaita-dark";
package = pkgs.adwaita-qt;
};
};
2021-12-08 16:26:56 +01:00
xdg.enable = true;
2021-12-13 00:35:22 +01:00
xsession = {
pointerCursor = {
package = pkgs.capitaine-cursors;
name = "capitaine-cursors";
size = 16;
};
};
}