69 lines
2.2 KiB
Nix
69 lines
2.2 KiB
Nix
{ pkgs, lib, config, inputs, ... }:
|
|
|
|
let
|
|
dotfiles = ./assets/dotfiles;
|
|
isUconsole = config.networking.hostName == "uConsole";
|
|
in {
|
|
home.username = "gortium";
|
|
home.homeDirectory = "/home/gortium";
|
|
home.stateVersion = "23.11";
|
|
programs.home-manager.enable = true;
|
|
|
|
home.file = {
|
|
# zsh
|
|
".zshrc".source = "${dotfiles}/zsh/.zshrc";
|
|
|
|
# tmux
|
|
".tmux.conf".source = "${dotfiles}/tmux/.tmux.conf";
|
|
|
|
# kitty
|
|
".config/kitty/kitty.conf".source = "${dotfiles}/kitty/.config/kitty/kitty.conf";
|
|
|
|
# nvim
|
|
".config/nvim/init.lua".source = "${dotfiles}/nvim/.config/nvim/init.lua";
|
|
|
|
# starship
|
|
".config/starship.toml".source = "${dotfiles}/starship/.config/starship.toml";
|
|
|
|
# btop
|
|
".config/btop/btop.conf".source = "${dotfiles}/btop/.config/btop/btop.conf";
|
|
|
|
# waybar
|
|
".config/waybar/style.css".source = "${dotfiles}/waybar/.config/waybar/style.css";
|
|
".config/waybar/config.jsonc".source = "${dotfiles}/waybar/.config/waybar/config.jsonc";
|
|
|
|
# wofi
|
|
".config/wofi/style.css".source = "${dotfiles}/wofi/.config/wofi/style.css";
|
|
".config/wofi/config".source = "${dotfiles}/wofi/.config/wofi/config";
|
|
|
|
# yazi
|
|
".config/yazi/yazi.toml".source = "${dotfiles}/yazi/.config/yazi/yazi.toml";
|
|
|
|
# hyprland — common config
|
|
".config/hypr/hyprland.conf".source = "${dotfiles}/hypr/.config/hypr/hyprland.conf";
|
|
".config/hypr/hypridle.conf".source = "${dotfiles}/hypr/.config/hypr/hypridle.conf";
|
|
".config/hypr/hyprlock.conf".source = "${dotfiles}/hypr/.config/hypr/hyprlock.conf";
|
|
".config/hypr/hyprpaper.conf".source = "${dotfiles}/hypr/.config/hypr/hyprpaper.conf";
|
|
".config/hypr/mocha.conf".source = "${dotfiles}/hypr/.config/hypr/mocha.conf";
|
|
|
|
# hyprland — host-specific monitor config
|
|
".config/hypr/host/monitors.conf".source =
|
|
if isUconsole
|
|
then "${dotfiles}/hypr/.config/hypr/hosts/uconsole.conf"
|
|
else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
git zsh tmux starship
|
|
neovim kitty
|
|
btop yazi ripgrep fd fzf
|
|
] ++ lib.optionals (!isUconsole) [
|
|
waybar wofi swww hyprshot
|
|
] ++ lib.optionals isUconsole [
|
|
brightnessctl
|
|
];
|
|
|
|
programs.zsh.enable = true;
|
|
programs.starship.enable = true;
|
|
}
|