71 lines
2.4 KiB
Nix
71 lines
2.4 KiB
Nix
# **************************************************************************** #
|
|
# #
|
|
# ::: :::::::: #
|
|
# home.nix :+: :+: :+: #
|
|
# +:+ +:+ +:+ #
|
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
|
# +#+#+#+#+#+ +#+ #
|
|
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
|
# Updated: 2024/10/24 02:09:16 by tomoron ### ########.fr #
|
|
# #
|
|
# **************************************************************************** #
|
|
|
|
{ config, lib, pkgs, username,homeDir, ... }:
|
|
|
|
{
|
|
imports = [
|
|
modules/git.nix
|
|
modules/picom.nix
|
|
modules/alacritty.nix
|
|
modules/vim.nix
|
|
modules/firefox.nix
|
|
];
|
|
|
|
home.username = "${username}";
|
|
home.homeDirectory = "${homeDir}";
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
home.packages = with pkgs;[
|
|
polybarFull
|
|
sxhkd
|
|
nitrogen
|
|
nerdfonts
|
|
rofi
|
|
neovim
|
|
activate-linux
|
|
bspwm
|
|
dunst
|
|
numlockx
|
|
unison
|
|
discord
|
|
google-chrome
|
|
wofi
|
|
waybar
|
|
brightnessctl
|
|
playerctl
|
|
swaybg
|
|
];
|
|
|
|
home.file = {
|
|
".config/bspwm/bspwmrc".source = dotfiles/config/bspwm/bspwmrc;
|
|
".config/hypr/hyprland.conf".source = dotfiles/config/hypr/hyprland.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;
|
|
}
|