Added configuration.nix, added git config for root & niten

This commit is contained in:
Root 2021-02-25 22:48:01 +00:00
parent ffefe74514
commit 4143610c0f
4 changed files with 34 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
configuration.nix
*~ *~
hardware-configuration.nix hardware-configuration.nix

22
configuration.nix Normal file
View File

@ -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";
};
})
];
}

View File

@ -62,6 +62,12 @@ in {
enable = true; enable = true;
userName = name; userName = name;
userEmail = email; userEmail = email;
ignores = [ "*~" ];
extraConfig = {
pull = {
rebase = false;
};
};
}; };
}; };

View File

@ -10,6 +10,12 @@ in {
enable = true; enable = true;
userName = name; userName = name;
userEmail = email; userEmail = email;
ignores = [ "*~" ];
extraConfig = {
pull = {
rebase = false;
};
};
}; };
}; };