Files
dendritic/modules/home-manager/users/john.nix
2026-03-08 14:13:52 -05:00

36 lines
930 B
Nix

{ inputs, ... }:
{
flake.homeModules.john = {
home.username = "john";
home.homeDirectory = "/home/john";
home.stateVersion = "25.11";
xdg.enable = true;
programs.git.settings.user.name = "John Lancaster";
programs.git.settings.user.email = "32917998+jsl12@users.noreply.github.com";
imports = with inputs.self.homeModules; [
base
docker
# resticprofile
];
};
# This is the base homeConfiguration for the john user that will be used if no other
flake.homeConfigurations.john = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
modules = [
inputs.self.homeModules.john
# Include another inline module to set the options created through the jsl-home modules
{
docker.enable = false;
ssh.matchSets = {
certs = true;
homelab = true;
};
}
];
};
}