109 lines
3.0 KiB
Nix
109 lines
3.0 KiB
Nix
# **************************************************************************** #
|
|
# #
|
|
# ::: :::::::: #
|
|
# home.nix :+: :+: :+: #
|
|
# +:+ +:+ +:+ #
|
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
|
# +#+#+#+#+#+ +#+ #
|
|
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
|
# Updated: 2025/01/03 12:14:50 by tomoron ### ########.fr #
|
|
# #
|
|
# **************************************************************************** #
|
|
|
|
{ config, lib, pkgs, username,homeDir, ... }:
|
|
|
|
{
|
|
imports = [
|
|
modules/git.nix
|
|
modules/picom.nix
|
|
modules/alacritty.nix
|
|
modules/vim.nix
|
|
modules/firefox.nix
|
|
modules/hyprland.nix
|
|
modules/waybar.nix
|
|
];
|
|
|
|
home.username = "${username}";
|
|
home.homeDirectory = "${homeDir}";
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Classic";
|
|
size = 16;
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
|
|
theme = {
|
|
package = pkgs.flat-remix-gtk;
|
|
name = "Flat-Remix-GTK-Grey-Darkest";
|
|
};
|
|
|
|
iconTheme = {
|
|
package = pkgs.adwaita-icon-theme;
|
|
name = "Adwaita";
|
|
};
|
|
|
|
font = {
|
|
name = "Sans";
|
|
size = 11;
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs;[
|
|
polybarFull
|
|
sxhkd
|
|
nitrogen
|
|
rofi
|
|
neovim
|
|
ripgrep
|
|
activate-linux
|
|
bspwm
|
|
dunst
|
|
numlockx
|
|
unison
|
|
discord
|
|
google-chrome
|
|
wofi
|
|
brightnessctl
|
|
playerctl
|
|
swaybg
|
|
hyprlock
|
|
python3
|
|
vlc
|
|
nerd-fonts.iosevka
|
|
|
|
grim
|
|
slurp
|
|
nix-index
|
|
yubikey-manager
|
|
yubico-pam
|
|
];
|
|
|
|
home.file = {
|
|
".config/bspwm/bspwmrc".source = lib.mkDefault dotfiles/config/bspwm/bspwmrc;
|
|
# ".config/hypr/hyprland.conf".source = dotfiles/config/hypr/hyprland.conf;
|
|
".config/hypr/hyprlock.conf".source = dotfiles/config/hypr/hyprlock.conf;
|
|
# ".config/waybar/config".source = dotfiles/config/waybar/config;
|
|
# ".config/waybar/style.css".source = dotfiles/config/waybar/style.css;
|
|
".config/sxhkd".source = lib.mkDefault dotfiles/config/sxhkd;
|
|
".config/polybar".source = dotfiles/config/polybar;
|
|
".config/nitrogen/wallpaper.png".source = lib.mkDefault dotfiles/config/nitrogen/wallpaper.png;
|
|
".xinitrc".source = dotfiles/xinitrc;
|
|
".bashrc".source = dotfiles/bashrc;
|
|
|
|
".local/share/rofi/themes".source = "${builtins.fetchGit {
|
|
url = "https://github.com/newmanls/rofi-themes-collection";
|
|
rev = "c8239a45edced3502894e1716a8b661fdea8f1c9";
|
|
ref = "master";
|
|
}}/themes";
|
|
".local/bin/desk_sync".source = dotfiles/local/bin/desk_sync;
|
|
".local/share/icons/bibata-modern-classic".source = dotfiles/local/share/icons/bibata-modern-classic;
|
|
};
|
|
programs.home-manager.enable = true;
|
|
}
|