refactor: base

This commit is contained in:
Daniel Langbein 2023-09-02 15:38:49 +02:00
parent 2ef97688f5
commit 81a021edc9
2 changed files with 25 additions and 28 deletions

View File

@ -6,37 +6,10 @@ in
{
imports = [
(import "${home-manager}/nixos")
../../modules/base.home.nix
../../modules/git.home.nix
../../modules/zsh.home.nix
# TODO
#../../modules/nitrokey-ssh-gpg.home.nix
];
/* Enable home-manager to configure GNOME */
programs.dconf.enable = true;
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 ]; */
#home.username = "yoda";
#home.homeDirectory = "/home/yoda";
#services.gpg-agent = {
# enable = true;
# enableSshSupport = true;
# defaultCacheTtl = 1800;
#};
# TODO: See history.path below.
# xdg = {
# enable = true;
# #dataHome = "${config.xdg.home.homeDirectory}/.local/share";
# };
};
}

24
modules/base.home.nix Normal file
View File

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
/* Enable home-manager to configure GNOME */
programs.dconf.enable = true;
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 ]; */
#home.username = "yoda";
#home.homeDirectory = "/home/yoda";
# TODO: See history.path in zsh module.
# xdg = {
# enable = true;
# #dataHome = "${config.xdg.home.homeDirectory}/.local/share";
# };
};
}