nix-flakes/hosts/machine/ena/home/default.nix
2026-09-14 12:09:52 +09:00

86 lines
2.3 KiB
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
{
xdg.enable = true;
# gtk.enable = true;
home.stateVersion = "25.05";
home.username = "imnyang";
home.homeDirectory = "/home/imnyang";
home.packages = import ./packages.nix { inherit pkgs inputs; };
home.sessionVariables = {
EDITOR = "nano";
VISUAL = "nano";
GTK_THEME = "Adwaita:dark";
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = "Adwaita-dark";
};
};
# Quickshell's Kirigami icons follow the KDE icon theme setting. Keep the
# Breeze theme available even though the rest of the session uses Adwaita.
xdg.configFile."kdeglobals".text = ''
[Icons]
Theme=breeze-dark
'';
programs.zed-editor.userSettings.theme.mode = lib.mkForce "dark";
programs.ghostty.settings.theme = lib.mkForce "Mizuki Dark";
programs.spicetify.colorScheme = lib.mkForce "mocha";
# Keep Hangul available in every application and make the Hangul key switch
# between Korean and the US keyboard layout.
xdg.configFile."fcitx5/profile" = {
force = true;
text = lib.generators.toINI { } {
"Groups/0" = {
Name = "Default";
"Default Layout" = "us";
DefaultIM = "hangul";
};
"Groups/0/Items/0" = {
Name = "keyboard-us";
Layout = "";
};
"Groups/0/Items/1" = {
Name = "hangul";
Layout = "";
};
GroupOrder = {
"0" = "Default";
};
};
};
xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".force = true;
imports = [
"${inputs.self}/modules/home/devtool/git.nix"
"${inputs.self}/modules/home/devtool/neovim.nix"
"${inputs.self}/modules/home/spicetify.nix"
"${inputs.self}/modules/home/devtool/ghostty.nix"
"${inputs.self}/modules/home/devtool/btop.nix"
"${inputs.self}/modules/home/devtool/zed.nix"
"${inputs.self}/modules/home/firefox-devedition.nix"
"${inputs.self}/modules/home/discord/linux.nix"
"${inputs.self}/modules/home/devtool/vscode.nix"
"${inputs.self}/modules/home/devtool/vicinae.nix"
"${inputs.self}/modules/home/ssh.nix"
"${inputs.self}/modules/home/vicinae.nix"
./config/shell.nix
./config/hyprland.nix
];
programs.btop.settings.color_theme = lib.mkForce "Mizuki Dark";
}