1
0

Introduce Home Manager

This commit is contained in:
dump_stack() 2019-07-18 17:29:22 +00:00
parent 4a6b8fc482
commit df1c43a55d
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 23 additions and 0 deletions

View File

@ -16,6 +16,7 @@ in {
./security.nix
./hacks.nix
./docker.nix
./home-manager.nix
];
time.timeZone = "UTC";

22
home-manager.nix Normal file
View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
let
home-manager = builtins.fetchGit {
url = "https://github.com/rycee/home-manager.git";
rev = "7d68c46feb845c572ef335f824062f90fdebf655";
};
in {
imports = [ "${home-manager}/nixos" ];
home-manager.users.user = {
programs.git = {
enable = true;
userName = "Mikhail Klementev";
userEmail = "blame@dumpstack.io";
signing = {
signByDefault = true;
key = "0x1525585D1B43C62A";
};
};
};
}