minor fix
This commit is contained in:
parent
748e6ebdfc
commit
a79d246780
6 changed files with 7 additions and 39 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -3,9 +3,3 @@ dotfiles/nvim/spell/*.sug
|
|||
dotfiles/nvim/lazy-lock.json
|
||||
dotfiles/hypr/wallpaper
|
||||
hosts/*/hardware-configuration.nix
|
||||
result
|
||||
result-*
|
||||
.direnv/
|
||||
*.swp
|
||||
.DS_Store
|
||||
inkscape/*.backup/
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -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
|
||||
## Raccourcis utiles
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{
|
||||
home.username = personal.username;
|
||||
home.homeDirectory = personal.homeDirectory;
|
||||
home.username = "afoucaultc";
|
||||
home.homeDirectory = "/home/afoucaultc";
|
||||
home.stateVersion = "26.05";
|
||||
imports = [
|
||||
# fichier individuel dans packages = programs.xyz existant
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{
|
||||
home.username = personal.username;
|
||||
home.homeDirectory = personal.homeDirectory;
|
||||
home.username = "afoucaultc";
|
||||
home.homeDirectory = "/home/afoucaultc";
|
||||
home.stateVersion = "26.05";
|
||||
imports = [
|
||||
# fichier individuel dans packages = programs.xyz existant
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings.user.name = personal.username;
|
||||
settings.user.email = personal.email;
|
||||
settings.user.name = "afoucaultc";
|
||||
settings.user.email = "antoine.fo.ca@proton.me";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
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