add personal
This commit is contained in:
parent
3daf50ea78
commit
748e6ebdfc
7 changed files with 41 additions and 8 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -2,3 +2,10 @@ dotfiles/nvim/spell/*.spl
|
||||||
dotfiles/nvim/spell/*.sug
|
dotfiles/nvim/spell/*.sug
|
||||||
dotfiles/nvim/lazy-lock.json
|
dotfiles/nvim/lazy-lock.json
|
||||||
dotfiles/hypr/wallpaper
|
dotfiles/hypr/wallpaper
|
||||||
|
hosts/*/hardware-configuration.nix
|
||||||
|
result
|
||||||
|
result-*
|
||||||
|
.direnv/
|
||||||
|
*.swp
|
||||||
|
.DS_Store
|
||||||
|
inkscape/*.backup/
|
||||||
|
|
|
||||||
13
README.md
13
README.md
|
|
@ -1,6 +1,19 @@
|
||||||
|
> [!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
|
||||||
```
|
```
|
||||||
|
Lancer start-hyprland dans le tty au démarrage
|
||||||
|
|
||||||
ALT Q : ouvre le terminal
|
ALT Q : ouvre le terminal
|
||||||
ALT N : ouvre neovim
|
ALT N : ouvre neovim
|
||||||
ALT W : ouvre le sélecteurs de programmes
|
ALT W : ouvre le sélecteurs de programmes
|
||||||
|
|
|
||||||
BIN
dotfiles/dots.zip
Normal file
BIN
dotfiles/dots.zip
Normal file
Binary file not shown.
|
|
@ -1,7 +1,10 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
let
|
||||||
|
personal = import ../../personal.nix;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.username = "afoucaultc";
|
home.username = personal.username;
|
||||||
home.homeDirectory = "/home/afoucaultc";
|
home.homeDirectory = personal.homeDirectory;
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
imports = [
|
imports = [
|
||||||
# fichier individuel dans packages = programs.xyz existant
|
# fichier individuel dans packages = programs.xyz existant
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
let
|
||||||
|
personal = import ../../personal.nix;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.username = "afoucaultc";
|
home.username = personal.username;
|
||||||
home.homeDirectory = "/home/afoucaultc";
|
home.homeDirectory = personal.homeDirectory;
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
imports = [
|
imports = [
|
||||||
# fichier individuel dans packages = programs.xyz existant
|
# fichier individuel dans packages = programs.xyz existant
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
let
|
||||||
|
personal = import ../../personal.nix;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.user.name = "afoucaultc";
|
settings.user.name = personal.username;
|
||||||
settings.user.email = "antoine.fo.ca@proton.me";
|
settings.user.email = personal.email;
|
||||||
#userName = "afoucaultc";
|
|
||||||
#userEmail = "antoine.fo.ca@proton.me";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
home/personal.nix
Normal file
6
home/personal.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
username = "afoucaultc";
|
||||||
|
email = "antoine.fo.ca@proton.me";
|
||||||
|
fullName = "Antoine Foucault";
|
||||||
|
homeDirectory = "/home/afoucaultc/";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue