Added configuration.nix, added git config for root & niten
This commit is contained in:
parent
ffefe74514
commit
4143610c0f
|
@ -1,3 +1,2 @@
|
|||
configuration.nix
|
||||
*~
|
||||
hardware-configuration.nix
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
local = import ../host-config.nix;
|
||||
initialize = import ./initialize.nix;
|
||||
|
||||
# (import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos")
|
||||
|
||||
in {
|
||||
imports = [
|
||||
(initialize {
|
||||
hostname = local.hostname;
|
||||
profile = local.profile;
|
||||
site = local.site;
|
||||
domain = local.domain;
|
||||
home-manager-package = builtins.fetchGit {
|
||||
url = "https://github.com/nix-community/home-manager.git";
|
||||
ref = "release-20.09";
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
|
@ -62,6 +62,12 @@ in {
|
|||
enable = true;
|
||||
userName = name;
|
||||
userEmail = email;
|
||||
ignores = [ "*~" ];
|
||||
extraConfig = {
|
||||
pull = {
|
||||
rebase = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -10,6 +10,12 @@ in {
|
|||
enable = true;
|
||||
userName = name;
|
||||
userEmail = email;
|
||||
ignores = [ "*~" ];
|
||||
extraConfig = {
|
||||
pull = {
|
||||
rebase = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue