nix-templates/home/default.nix

43 lines
944 B
Nix
Raw Normal View History

2025-06-25 01:35:01 -04:00
{
pkgs,
...
}: let
variables = {
# VISUAL = "emacs";
EDITOR = "nvim";
SHELL = "fish";
};
in {
# TODO: this should be moved
# once I migrate to using a shared flake
imports = [
./bitwarden.nix
./dev
./work
./firefox.nix
./fonts.nix
./obsidian.nix
./syncthing.nix
];
home.sessionVariables = variables;
systemd.user.sessionVariables = variables;
xdg.enable = true; # TODO: what is this?
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "24.11";
# Let Home Manager install and manage itself.
# programs.home-manager.enable = true;
}