minor fix

This commit is contained in:
afoucaultc 2026-07-23 12:09:06 +02:00
parent 748e6ebdfc
commit a79d246780
6 changed files with 7 additions and 39 deletions

6
.gitignore vendored
View file

@ -3,9 +3,3 @@ dotfiles/nvim/spell/*.sug
dotfiles/nvim/lazy-lock.json dotfiles/nvim/lazy-lock.json
dotfiles/hypr/wallpaper dotfiles/hypr/wallpaper
hosts/*/hardware-configuration.nix hosts/*/hardware-configuration.nix
result
result-*
.direnv/
*.swp
.DS_Store
inkscape/*.backup/

View file

@ -1,14 +1,3 @@
> [!IMPORTANT]
> Ne pas oublier de copier hardware-configuration depuis `/etc/nixos`, et créer un fichier dans `home/personal.nix` comme suit :
```nix
{
username = "myUserName";
email = "myGitEmail";
fullName = "myGitFullname";
homeDirectory = "/home/myUserName";
}
```
# How to use # How to use
## Raccourcis utiles ## Raccourcis utiles
``` ```

View file

@ -1,10 +1,7 @@
{ ... }: { ... }:
let
personal = import ../../personal.nix;
in
{ {
home.username = personal.username; home.username = "afoucaultc";
home.homeDirectory = personal.homeDirectory; home.homeDirectory = "/home/afoucaultc";
home.stateVersion = "26.05"; home.stateVersion = "26.05";
imports = [ imports = [
# fichier individuel dans packages = programs.xyz existant # fichier individuel dans packages = programs.xyz existant

View file

@ -1,10 +1,7 @@
{ ... }: { ... }:
let
personal = import ../../personal.nix;
in
{ {
home.username = personal.username; home.username = "afoucaultc";
home.homeDirectory = personal.homeDirectory; home.homeDirectory = "/home/afoucaultc";
home.stateVersion = "26.05"; home.stateVersion = "26.05";
imports = [ imports = [
# fichier individuel dans packages = programs.xyz existant # fichier individuel dans packages = programs.xyz existant

View file

@ -1,11 +1,8 @@
{ ... }: { pkgs, inputs, ... }:
let
personal = import ../../personal.nix;
in
{ {
programs.git = { programs.git = {
enable = true; enable = true;
settings.user.name = personal.username; settings.user.name = "afoucaultc";
settings.user.email = personal.email; settings.user.email = "antoine.fo.ca@proton.me";
}; };
} }

View file

@ -1,6 +0,0 @@
{
username = "afoucaultc";
email = "antoine.fo.ca@proton.me";
fullName = "Antoine Foucault";
homeDirectory = "/home/afoucaultc/";
}