add personal
This commit is contained in:
parent
3daf50ea78
commit
748e6ebdfc
7 changed files with 41 additions and 8 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{
|
||||
home.username = "afoucaultc";
|
||||
home.homeDirectory = "/home/afoucaultc";
|
||||
home.username = personal.username;
|
||||
home.homeDirectory = personal.homeDirectory;
|
||||
home.stateVersion = "26.05";
|
||||
imports = [
|
||||
# fichier individuel dans packages = programs.xyz existant
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{
|
||||
home.username = "afoucaultc";
|
||||
home.homeDirectory = "/home/afoucaultc";
|
||||
home.username = personal.username;
|
||||
home.homeDirectory = personal.homeDirectory;
|
||||
home.stateVersion = "26.05";
|
||||
imports = [
|
||||
# fichier individuel dans packages = programs.xyz existant
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
{ ... }:
|
||||
let
|
||||
personal = import ../../personal.nix;
|
||||
in
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings.user.name = "afoucaultc";
|
||||
settings.user.email = "antoine.fo.ca@proton.me";
|
||||
#userName = "afoucaultc";
|
||||
#userEmail = "antoine.fo.ca@proton.me";
|
||||
settings.user.name = personal.username;
|
||||
settings.user.email = personal.email;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
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