mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Replaces placeholder 'yourusername' with 'zeph' in flake.nix and home/home.nix for user-specific Home Manager configuration.
163 lines
3.0 KiB
Nix
163 lines
3.0 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Home Manager configuration for user-level dotfiles and applications
|
|
|
|
home.username = "zeph";
|
|
home.homeDirectory = "/home/zeph";
|
|
|
|
# Packages to install for this user
|
|
home.packages = with pkgs; [
|
|
# Development tools
|
|
vscode
|
|
# neovim
|
|
|
|
# Browsers
|
|
firefox
|
|
# chromium
|
|
|
|
# Terminal emulators
|
|
alacritty
|
|
# kitty
|
|
# wezterm
|
|
|
|
# File managers
|
|
# thunar
|
|
# ranger
|
|
# nnn
|
|
|
|
# Media
|
|
# mpv
|
|
# vlc
|
|
# spotify
|
|
|
|
# Communication
|
|
# discord
|
|
# slack
|
|
|
|
# Screenshots and screen recording
|
|
# flameshot
|
|
# maim
|
|
# obs-studio
|
|
|
|
# System utilities
|
|
# rofi
|
|
# dunst
|
|
# polybar
|
|
# picom
|
|
|
|
# Ricing essentials
|
|
# lxappearance
|
|
# nitrogen # wallpaper setter
|
|
# pywal # color scheme generator
|
|
|
|
# Themes and icons
|
|
# papirus-icon-theme
|
|
# arc-theme
|
|
];
|
|
|
|
# Git configuration
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Zephrynis";
|
|
userEmail = "zephrynis.yt@gmail.com";
|
|
};
|
|
|
|
# Terminal configuration
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
# autosuggestion.enable = true;
|
|
# syntaxHighlighting.enable = true;
|
|
|
|
shellAliases = {
|
|
ll = "ls -la";
|
|
# update = "sudo nixos-rebuild switch --flake .#my-machine";
|
|
update-laptop = "cd /home/zephrynis/nix-flake && git pull && sudo nixos-rebuild switch --flake .#laptop";
|
|
# Add more aliases
|
|
};
|
|
|
|
# oh-my-zsh = {
|
|
# enable = true;
|
|
# theme = "robbyrussell";
|
|
# plugins = [ "git" "sudo" ];
|
|
# };
|
|
};
|
|
|
|
# Bash configuration (if you prefer bash)
|
|
programs.bash = {
|
|
enable = true;
|
|
shellAliases = {
|
|
ll = "ls -la";
|
|
update = "sudo nixos-rebuild switch --flake .#my-machine";
|
|
};
|
|
};
|
|
|
|
# Starship prompt
|
|
# programs.starship = {
|
|
# enable = true;
|
|
# settings = {
|
|
# add_newline = false;
|
|
# };
|
|
# };
|
|
|
|
# Alacritty terminal emulator
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
window = {
|
|
opacity = 0.9;
|
|
padding = {
|
|
x = 10;
|
|
y = 10;
|
|
};
|
|
};
|
|
|
|
font = {
|
|
normal = {
|
|
family = "FiraCode Nerd Font";
|
|
style = "Regular";
|
|
};
|
|
size = 11.0;
|
|
};
|
|
|
|
colors = {
|
|
primary = {
|
|
background = "#1e1e2e";
|
|
foreground = "#cdd6f4";
|
|
};
|
|
};
|
|
|
|
# Uncomment and customize as needed
|
|
# cursor = {
|
|
# style = "Block";
|
|
# };
|
|
};
|
|
};
|
|
|
|
# GTK theming
|
|
gtk = {
|
|
enable = true;
|
|
# theme = {
|
|
# name = "Arc-Dark";
|
|
# package = pkgs.arc-theme;
|
|
# };
|
|
# iconTheme = {
|
|
# name = "Papirus-Dark";
|
|
# package = pkgs.papirus-icon-theme;
|
|
# };
|
|
};
|
|
|
|
# Qt theming
|
|
# qt = {
|
|
# enable = true;
|
|
# platformTheme.name = "gtk";
|
|
# };
|
|
|
|
# Let Home Manager manage itself
|
|
programs.home-manager.enable = true;
|
|
|
|
# Home Manager state version
|
|
home.stateVersion = "25.05";
|
|
}
|