update git config for tulkas
This commit is contained in:
parent
1c14aee742
commit
bca8e8c03c
2 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
{ ... }:
|
||||
{ lib, ... }: let
|
||||
inherit (lib) mkForce;
|
||||
in
|
||||
{
|
||||
user = {
|
||||
full_name = "Chris Kruining";
|
||||
|
@ -26,5 +28,6 @@
|
|||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
toolset.git.enable = mkForce false;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ config, lib, pkgs, user, ... }:
|
||||
let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
inherit (lib.attrsets) attrValues;
|
||||
inherit (lib.modules) mkIf;
|
||||
in
|
||||
{
|
||||
options.modules.${user}.shell.toolset.git = let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in { enable = mkEnableOption "version-control system"; };
|
||||
options.modules.${user}.shell.toolset.git = {
|
||||
enable = mkEnableOption "version-control system";
|
||||
};
|
||||
|
||||
config = mkIf config.modules.${user}.shell.toolset.git.enable {
|
||||
environment.sessionVariables.GITHUB_TOKEN = "$(cat /run/agenix/tokenGH)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue