mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-06-05 17:00:12 +02:00
95 lines
2.1 KiB
Nix
95 lines
2.1 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
userConfig,
|
|
...
|
|
}:
|
|
|
|
{
|
|
home.username = userConfig.username;
|
|
home.homeDirectory = "/home/${userConfig.username}";
|
|
|
|
nix = {
|
|
package = pkgs.nix;
|
|
settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
|
|
# === THEME ===
|
|
catppuccin = {
|
|
enable = true;
|
|
flavor = "mocha";
|
|
accent = "sapphire";
|
|
};
|
|
|
|
imports = [
|
|
# general
|
|
./modules/packages.nix
|
|
./modules/xdg.nix
|
|
./modules/desktop.nix
|
|
./modules/gtk.nix
|
|
# cli tools
|
|
./modules/cli/fish.nix
|
|
./modules/cli/nixvim.nix
|
|
./modules/cli/yazi.nix
|
|
./modules/cli/btop.nix
|
|
./modules/cli/atuin.nix
|
|
./modules/cli/zoxide.nix
|
|
./modules/cli/ssh.nix
|
|
./modules/cli/bat.nix
|
|
./modules/cli/git.nix
|
|
./modules/cli/fastfetch.nix
|
|
./modules/cli/kdeconnect.nix
|
|
./modules/cli/topgrade.nix
|
|
# gui tools
|
|
./modules/gui/kitty.nix
|
|
./modules/gui/satty.nix
|
|
./modules/gui/mako.nix
|
|
./modules/gui/mangohud.nix
|
|
./modules/gui/browsers.nix
|
|
./modules/gui/obsidian.nix
|
|
# status bars
|
|
./modules/bars/ashell.nix
|
|
./modules/bars/waybar.nix
|
|
# hypr
|
|
./modules/hypr/hyprland.nix
|
|
./modules/hypr/hyprlauncher.nix
|
|
./modules/hypr/hypridle.nix
|
|
./modules/hypr/hyprlock.nix
|
|
./modules/hypr/hyprsunset.nix
|
|
./modules/hypr/hyprtoolkit.nix
|
|
];
|
|
|
|
# === SCRIPTS IMPORT ===
|
|
home.file = {
|
|
".local/bin".source = ./scripts;
|
|
".config/gtk-3.0/colors.css".source = ./dotfiles/gtk-3.0/colors.css;
|
|
".config/gtk-3.0/gtk.css".source = ./dotfiles/gtk-3.0/gtk.css;
|
|
${userConfig.pathConfig.wallpaper}.source = inputs.wallpapers;
|
|
};
|
|
programs.hyprcursor-phinger.enable = true;
|
|
|
|
# === VARS ===
|
|
|
|
home = {
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
VISUAL = "nvim";
|
|
XDG_DATA_DIRS = "$HOME/.nix-profile/share/applications:$XDG_DATA_DIRS";
|
|
};
|
|
|
|
pointerCursor = {
|
|
name = "phinger-cursors-light";
|
|
package = pkgs.phinger-cursors;
|
|
size = 24;
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
};
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "25.11"; # DONT CHANGE ME UwU
|
|
}
|