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