fix(nix): bring up to feature parity
This commit is contained in:
parent
738a7b95d2
commit
a6bd611c25
4 changed files with 22 additions and 4 deletions
|
@ -1,9 +1,14 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
inherit (config.flake) manifest;
|
||||
in
|
||||
{
|
||||
flake.modules.homeManager.default =
|
||||
{ manifest, config, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = manifest.users.${config.home.username}.name;
|
||||
userEmail = manifest.users.${config.home.username}.email;
|
||||
signing.key = "~/.ssh/id_ed25519.pub";
|
||||
|
|
6
nix/modules/cli/nix.nix
Normal file
6
nix/modules/cli/nix.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
flake.modules.nixos.default.nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue