mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
36 lines
925 B
Nix
36 lines
925 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
#home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
home-manager = (import ./nix/sources.nix).home-manager;
|
|
in
|
|
{
|
|
imports = [
|
|
(import "${home-manager}/nixos")
|
|
];
|
|
|
|
home-manager.users.yoda = {
|
|
/* The home.stateVersion option does not have a default and must be set */
|
|
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
|
|
home.stateVersion = "23.05";
|
|
|
|
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
|
|
|
|
# Git config using Home Manager modules
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Daniel Langbein";
|
|
userEmail = "daniel@systemli.org";
|
|
aliases = {
|
|
st = "status";
|
|
};
|
|
};
|
|
|
|
#services.gpg-agent = {
|
|
# enable = true;
|
|
# enableSshSupport = true;
|
|
# defaultCacheTtl = 1800;
|
|
#};
|
|
|
|
};
|
|
}
|