36 lines
930 B
Nix
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;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|