add config from gitlab
This commit is contained in:
commit
e02f7f00f9
842 changed files with 297362 additions and 0 deletions
25
home/afoucaultc/dotfiles_apps.nix
Normal file
25
home/afoucaultc/dotfiles_apps.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
kitty
|
||||
rofi
|
||||
];
|
||||
|
||||
xdg.configFile."kitty".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"${config.home.homeDirectory}/nixos-config/dotfiles/kitty";
|
||||
|
||||
xdg.configFile."inkscape".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"${config.home.homeDirectory}/nixos-config/dotfiles/inkscape";
|
||||
|
||||
xdg.configFile."rofi".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"${config.home.homeDirectory}/nixos-config/dotfiles/rofi";
|
||||
|
||||
xdg.configFile."nvim".source = ../../dotfiles/nvim;
|
||||
|
||||
xdg.configFile."hypr".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"${config.home.homeDirectory}/nixos-config/dotfiles/hypr";
|
||||
}
|
||||
22
home/afoucaultc/home.nix
Normal file
22
home/afoucaultc/home.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.username = "afoucaultc";
|
||||
home.homeDirectory = "/home/afoucaultc";
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
imports =
|
||||
[
|
||||
./packages/firefox.nix
|
||||
./packages/git.nix
|
||||
./packages/hyprland.nix
|
||||
./packages/lavi.nix
|
||||
./packages/neovim.nix
|
||||
./packages/other_apps.nix
|
||||
./packages/texlive.nix
|
||||
./packages/zathura.nix
|
||||
./packages/zen.nix
|
||||
./packages/zsh.nix
|
||||
# dotfiles links
|
||||
./dotfiles_apps.nix
|
||||
];
|
||||
}
|
||||
6
home/afoucaultc/packages/firefox.nix
Normal file
6
home/afoucaultc/packages/firefox.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
8
home/afoucaultc/packages/git.nix
Normal file
8
home/afoucaultc/packages/git.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "afoucaultc";
|
||||
userEmail = "antoine.fo.ca@proton.me";
|
||||
};
|
||||
}
|
||||
17
home/afoucaultc/packages/hyprland.nix
Normal file
17
home/afoucaultc/packages/hyprland.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
hyprlock
|
||||
wl-clipboard
|
||||
grim
|
||||
slurp
|
||||
];
|
||||
|
||||
home.pointerCursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Ice";
|
||||
size = 24;
|
||||
gtk.enable = true;
|
||||
};
|
||||
}
|
||||
20
home/afoucaultc/packages/lavi.nix
Normal file
20
home/afoucaultc/packages/lavi.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
imports = [ inputs.lavi.homeManagerModules.lavi ];
|
||||
|
||||
lavi = {
|
||||
neovim.enable = true; # Adds lavi-nvim to programs.neovim.plugins
|
||||
ghostty.enable = true; # Configures programs.ghostty.themes.lavi
|
||||
alacritty.enable = true; # Merges colors into programs.alacritty.settings
|
||||
bat.enable = true; # Installs tmTheme and sets bat theme to Lavi
|
||||
kitty.enable = true; # Appends to programs.kitty.extraConfig
|
||||
foot.enable = true; # Merges into programs.foot.settings
|
||||
btop.enable = true; # Writes theme file and sets color_theme
|
||||
bottom.enable = true; # Merges styles into programs.bottom.settings
|
||||
clipse.enable = true; # Merges theme into services.clipse.theme
|
||||
dank-material-shell.enable = true; # Configures programs.dank-material-shell custom theme
|
||||
opencode.enable = true; # Configures programs.opencode.themes.lavi
|
||||
wezterm.enable = true; # Writes theme to wezterm/colors/
|
||||
zellij.enable = true; # Configures programs.zellij.themes.lavi
|
||||
};
|
||||
}
|
||||
15
home/afoucaultc/packages/neovim.nix
Normal file
15
home/afoucaultc/packages/neovim.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
ripgrep fd gcc nodejs unzip
|
||||
lua-language-server stylua nil
|
||||
(python3.withPackages (ps: with ps; [ pynvim ]))
|
||||
];
|
||||
}
|
||||
47
home/afoucaultc/packages/other_apps.nix
Normal file
47
home/afoucaultc/packages/other_apps.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# --- Others
|
||||
hyfetch
|
||||
fastfetch
|
||||
htop
|
||||
pkg-config
|
||||
|
||||
# --- Bureautique ---
|
||||
libreoffice-fresh
|
||||
typora
|
||||
zotero
|
||||
|
||||
# --- Communication ---
|
||||
thunderbird
|
||||
signal-desktop
|
||||
vesktop
|
||||
mattermost-desktop
|
||||
|
||||
# --- Multimédia ---
|
||||
gimp
|
||||
inkscape
|
||||
mpv
|
||||
streamlink
|
||||
kdePackages.gwenview
|
||||
audacity
|
||||
|
||||
# --- Maths ---
|
||||
octave
|
||||
gnuplot
|
||||
|
||||
# --- Réseau / streaming ---
|
||||
|
||||
|
||||
# --- Gestion de fichiers KDE ---
|
||||
kdePackages.dolphin
|
||||
kdePackages.dolphin-plugins
|
||||
kdePackages.kio-extras
|
||||
kdePackages.qtsvg
|
||||
kdePackages.ark
|
||||
kdePackages.kdegraphics-thumbnailers
|
||||
kdePackages.ffmpegthumbs
|
||||
];
|
||||
|
||||
services.protonmail-bridge.enable = true;
|
||||
}
|
||||
8
home/afoucaultc/packages/texlive.nix
Normal file
8
home/afoucaultc/packages/texlive.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
texliveFull
|
||||
pandoc
|
||||
texlab
|
||||
];
|
||||
}
|
||||
19
home/afoucaultc/packages/zathura.nix
Normal file
19
home/afoucaultc/packages/zathura.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
options = {
|
||||
selection-clipboard = "clipboard";
|
||||
# default-bg = "#1e1e2e";
|
||||
# default-fg = "#cdd6f4";
|
||||
};
|
||||
mappings = {
|
||||
# exemple : "<C-r>" = "reload";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
zathura
|
||||
poppler-utils
|
||||
];
|
||||
}
|
||||
9
home/afoucaultc/packages/zen.nix
Normal file
9
home/afoucaultc/packages/zen.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [ inputs.zen-browser.homeModules.beta ];
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
setAsDefaultBrowser = true;
|
||||
};
|
||||
}
|
||||
|
||||
13
home/afoucaultc/packages/zsh.nix
Normal file
13
home/afoucaultc/packages/zsh.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "robbyrussell";
|
||||
plugins = [ "git" "sudo" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue