mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
95 lines
2.0 KiB
Nix
95 lines
2.0 KiB
Nix
{
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
|
|
{
|
|
home.username = username;
|
|
home.homeDirectory = "/home/${username}";
|
|
|
|
nix = {
|
|
package = pkgs.nix;
|
|
settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
|
|
# === THEME ===
|
|
catppuccin = {
|
|
enable = true;
|
|
flavor = "mocha";
|
|
accent = "mauve";
|
|
};
|
|
|
|
imports = [
|
|
# general packages list
|
|
./modules/packages.nix
|
|
# cli tools
|
|
./modules/fish.nix
|
|
./modules/nixvim.nix
|
|
./modules/yazi.nix
|
|
./modules/btop.nix
|
|
./modules/atuin.nix
|
|
./modules/zoxide.nix
|
|
./modules/mako.nix
|
|
./modules/ssh.nix
|
|
./modules/bat.nix
|
|
./modules/git.nix
|
|
# gui tools
|
|
./modules/kitty.nix
|
|
./modules/satty.nix
|
|
# status bars
|
|
./modules/ashell.nix
|
|
./modules/waybar.nix
|
|
# hypr
|
|
./modules/hypr/hyprland.nix
|
|
./modules/hypr/hyprlauncher.nix
|
|
./modules/hypr/hypridle.nix
|
|
./modules/hypr/hyprlock.nix
|
|
./modules/hypr/hyprsunset.nix
|
|
# other stuff
|
|
./modules/xdg.nix
|
|
./modules/desktop.nix
|
|
];
|
|
|
|
# === DOTFILES IMPORT ===
|
|
home.file = {
|
|
".config/fastfetch".source = ./dotfiles/fastfetch;
|
|
".config/MangoHud".source = ./dotfiles/mangohud;
|
|
# ".config/nvim".source = ./dotfiles/nvim;
|
|
".config/gtk-3.0/settings.ini".source = ./dotfiles/gtk-3.0/settings.ini;
|
|
".config/gtk-4.0".source = ./dotfiles/gtk-4.0;
|
|
# ".config/hypr".source = ./dotfiles/hypr;
|
|
".config/mimeapps.list".source = ./dotfiles/mimeapps.list;
|
|
".local/bin".source = ./scripts;
|
|
};
|
|
|
|
# XDG
|
|
|
|
xdg.desktopEntries.x = {
|
|
name = "X";
|
|
genericName = "Social Media Client";
|
|
comment = "Open X (twitter)";
|
|
exec = "uwsm app -- chromium --app=https://x.com";
|
|
icon = "twitter";
|
|
terminal = false;
|
|
categories = [
|
|
"Network"
|
|
"WebBrowser"
|
|
"X-Social"
|
|
];
|
|
};
|
|
|
|
# === VARS ===
|
|
|
|
home.sessionVariables = {
|
|
EDITOR = "nvim";
|
|
VISUAL = "nvim";
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "25.11"; # DONT CHANGE ME UwU
|
|
}
|