mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
refactor: base
This commit is contained in:
parent
2ef97688f5
commit
81a021edc9
@ -6,37 +6,10 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
|
../../modules/base.home.nix
|
||||||
../../modules/git.home.nix
|
../../modules/git.home.nix
|
||||||
../../modules/zsh.home.nix
|
../../modules/zsh.home.nix
|
||||||
# TODO
|
# TODO
|
||||||
#../../modules/nitrokey-ssh-gpg.home.nix
|
#../../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
24
modules/base.home.nix
Normal 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";
|
||||||
|
# };
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user