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