This commit is contained in:
parent
e3606cfaaf
commit
530f4023fc
3 changed files with 12 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
(import ../../git { inherit pkgs; inherit lib; inherit config; cyplo.username = "Cyryl.Plotnicki"; })
|
||||||
];
|
];
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|
||||||
|
@ -64,6 +64,7 @@
|
||||||
home.sessionPath = ["$HOME/bin"];
|
home.sessionPath = ["$HOME/bin"];
|
||||||
home.packages = with pkgs; [];
|
home.packages = with pkgs; [];
|
||||||
programs = {
|
programs = {
|
||||||
|
git.userEmail = "cyryl.plotnicki@cushon.co.uk";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,13 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
cyplo,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
home-manager.users.cyryl = {...}: {imports = [./home.nix];};
|
let
|
||||||
|
username = if cyplo ? username then "${cyplo.username}" else "cyryl";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
home-manager.users."${username}" = {...}: {imports = [./home.nix];};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
userName = "Cyryl Płotnicki";
|
userName = "Cyryl Płotnicki";
|
||||||
userEmail = "cyplo@cyplo.dev";
|
userEmail = lib.mkDefault "cyplo@cyplo.dev";
|
||||||
delta = {
|
delta = {
|
||||||
enable = true;
|
enable = true;
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Reference in a new issue