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

39 lines
948 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
sublime
desktop
# resticprofile
];
};
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
{
homeManagerFlakeDir = "~/.config/home-manager";
docker.enable = true;
ssh.matchSets = {
certs = true;
appdaemon = true;
homelab = true;
};
}
];
};
}