You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
1.7 KiB
98 lines
1.7 KiB
{ config, pkgs, user, ... }:
|
|
|
|
let
|
|
theme = pkgs.nordic;
|
|
themeName = "Nordic";
|
|
in
|
|
{
|
|
imports = [
|
|
../vim.nix
|
|
../wallpaper.nix
|
|
../picom.nix
|
|
../i3.nix
|
|
../polybar
|
|
../rofi
|
|
../git.nix
|
|
../terminal.nix
|
|
];
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
gtk = {
|
|
enable = true;
|
|
iconTheme = {
|
|
name = "${themeName}";
|
|
package = "${theme}";
|
|
};
|
|
theme = {
|
|
name = "${themeName}";
|
|
package = "${theme}";
|
|
};
|
|
gtk3.extraConfig = {
|
|
# Remove minimize, maximize, and close buttons
|
|
gtk-decoration-layout = "appmenu:none";
|
|
};
|
|
};
|
|
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "gtk";
|
|
};
|
|
|
|
i18n.inputMethod = {
|
|
enabled = "fcitx5";
|
|
# Commented out, not working
|
|
# fcitx.engines = with pkgs.fcitx-engines; [ anthy ];
|
|
};
|
|
|
|
home = {
|
|
username = "${user}";
|
|
homeDirectory = "/home/${user}";
|
|
|
|
stateVersion = "22.05";
|
|
|
|
packages = with pkgs; [
|
|
# Command line utilities
|
|
wget
|
|
neofetch
|
|
ranger
|
|
trash-cli # aliased to rm in .bashrc
|
|
|
|
# GUI applications
|
|
firefox
|
|
discord
|
|
gnome.nautilus
|
|
|
|
# Configuration applications
|
|
fcitx5-configtool
|
|
];
|
|
|
|
sessionVariables = {
|
|
EDITOR = "vim";
|
|
GTK_IM_MDOULE = "fcitx";
|
|
QT_IM_MODULE = "fcitx";
|
|
XMODIFIERS = "@im=fcitx";
|
|
GLFW_IM_MODULE = "ibus"; # IME support in anthy
|
|
};
|
|
};
|
|
|
|
programs.bash = {
|
|
enable = true;
|
|
shellAliases = {
|
|
g = "git";
|
|
ga = "g add";
|
|
gc = "g commit -m ";
|
|
gu = "ga . && gc";
|
|
gs = "g status";
|
|
gi = "g init";
|
|
gp = "g push";
|
|
gf = "g pull";
|
|
gC = "g clone";
|
|
goops = "g reset --soft HEAD^";
|
|
|
|
v = "vim";
|
|
rm = "trash-put";
|
|
};
|
|
};
|
|
}
|