nix-git/hosts/yodaTab/home-manager.nix

43 lines
1.0 KiB
Nix
Raw Normal View History

2023-08-15 20:55:27 +02:00
{ config, pkgs, ... }:
let
2023-08-31 13:13:47 +02:00
# Import Home Manager with niv.
2023-09-02 15:12:08 +02:00
home-manager = (import ../../nix/sources.nix).home-manager;
2023-08-15 20:55:27 +02:00
in
{
imports = [
(import "${home-manager}/nixos")
2023-09-02 15:12:08 +02:00
../../modules/git.home.nix
2023-09-02 15:33:36 +02:00
../../modules/zsh.home.nix
2023-08-31 16:04:59 +02:00
# TODO
2023-09-02 15:12:08 +02:00
#../../modules/nitrokey-ssh-gpg.home.nix
2023-08-15 20:55:27 +02:00
];
2023-08-31 13:13:43 +02:00
/* Enable home-manager to configure GNOME */
programs.dconf.enable = true;
2023-08-15 20:55:27 +02:00
home-manager.users.yoda = {
/* The home.stateVersion option does not have a default and must be set */
2023-08-16 18:28:29 +02:00
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
2023-08-15 20:55:27 +02:00
home.stateVersion = "23.05";
2023-08-16 18:28:29 +02:00
2023-08-15 20:55:27 +02:00
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
2023-08-28 17:17:01 +02:00
#home.username = "yoda";
#home.homeDirectory = "/home/yoda";
2023-08-31 13:13:47 +02:00
2023-08-15 20:55:27 +02:00
#services.gpg-agent = {
# enable = true;
# enableSshSupport = true;
# defaultCacheTtl = 1800;
#};
2023-08-28 17:17:01 +02:00
2023-08-28 17:52:35 +02:00
# TODO: See history.path below.
2023-08-28 17:17:01 +02:00
# xdg = {
# enable = true;
# #dataHome = "${config.xdg.home.homeDirectory}/.local/share";
# };
2023-08-28 17:52:35 +02:00
2023-08-15 20:55:27 +02:00
};
}