2023-08-13 17:00:41 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
2024-10-02 14:38:34 +01:00
|
|
|
cyplo,
|
2023-08-13 17:00:41 +01:00
|
|
|
...
|
2024-10-02 14:38:34 +01:00
|
|
|
}: let
|
|
|
|
username =
|
|
|
|
if cyplo ? username
|
|
|
|
then "${cyplo.username}"
|
|
|
|
else "cyryl";
|
|
|
|
in {
|
2023-06-19 21:34:51 +01:00
|
|
|
programs.zsh.enable = true;
|
2024-10-02 14:38:34 +01:00
|
|
|
home-manager.users."${username}" = {...}: {imports = [./home.nix];};
|
2023-06-19 21:34:51 +01:00
|
|
|
}
|