This commit is contained in:
parent
530f4023fc
commit
aa507c0814
4 changed files with 32 additions and 15 deletions
|
@ -5,9 +5,22 @@
|
|||
lib,
|
||||
nixpkgs-nixos-unstable-and-unfree,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
username = "Cyryl.Plotnicki";
|
||||
in {
|
||||
imports = [
|
||||
(import ../../git { inherit pkgs; inherit lib; inherit config; cyplo.username = "Cyryl.Plotnicki"; })
|
||||
(import ../../zsh {
|
||||
inherit pkgs;
|
||||
inherit lib;
|
||||
inherit config;
|
||||
cyplo.username = username;
|
||||
})
|
||||
(import ../../git {
|
||||
inherit pkgs;
|
||||
inherit lib;
|
||||
inherit config;
|
||||
cyplo.username = username;
|
||||
})
|
||||
];
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
|
@ -33,8 +46,6 @@
|
|||
})
|
||||
];
|
||||
|
||||
|
||||
|
||||
homebrew.enable = true;
|
||||
homebrew.casks = [
|
||||
"caffeine"
|
||||
|
@ -61,7 +72,7 @@
|
|||
];
|
||||
programs.kitty.settings.hide_window_decorations = lib.mkForce false;
|
||||
|
||||
home.sessionPath = ["$HOME/bin"];
|
||||
home.sessionPath = ["$HOME/bin" "/Users/Cyryl.Plotnicki/Library/Application Support/JetBrains/Toolbox/scripts"];
|
||||
home.packages = with pkgs; [];
|
||||
programs = {
|
||||
git.userEmail = "cyryl.plotnicki@cushon.co.uk";
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
lib,
|
||||
cyplo,
|
||||
...
|
||||
}:
|
||||
let
|
||||
username = if cyplo ? username then "${cyplo.username}" else "cyryl";
|
||||
in
|
||||
{
|
||||
|
||||
}: let
|
||||
username =
|
||||
if cyplo ? username
|
||||
then "${cyplo.username}"
|
||||
else "cyryl";
|
||||
in {
|
||||
home-manager.users."${username}" = {...}: {imports = [./home.nix];};
|
||||
}
|
||||
|
|
|
@ -2,8 +2,14 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
cyplo,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
username =
|
||||
if cyplo ? username
|
||||
then "${cyplo.username}"
|
||||
else "cyryl";
|
||||
in {
|
||||
programs.zsh.enable = true;
|
||||
home-manager.users.cyryl = {...}: {imports = [./home.nix];};
|
||||
home-manager.users."${username}" = {...}: {imports = [./home.nix];};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue