36 lines
941 B
Nix
36 lines
941 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.homeModules."john-pc-ubuntu" = {
|
|
imports = with inputs.self.homeModules; [
|
|
john
|
|
desktop
|
|
resticprofile
|
|
];
|
|
|
|
# TODO: Add host-specific settings here:
|
|
# - sops secret for `restic_password/john_ubuntu`
|
|
# - resticprofile profile definition
|
|
# - zsh RESTIC* session variables
|
|
};
|
|
|
|
flake.homeConfigurations."john-pc-ubuntu" = inputs.home-manager.lib.homeManagerConfiguration {
|
|
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
|
|
modules = [
|
|
inputs.self.homeModules."john-pc-ubuntu"
|
|
|
|
# Include another inline module to set the options created through the jsl-home modules
|
|
{
|
|
homeManagerFlakeDir = "~/.config/home-manager/jsl-dendritic";
|
|
docker.enable = true;
|
|
ssh.matchSets = {
|
|
certs = true;
|
|
appdaemon = true;
|
|
homelab = true;
|
|
};
|
|
shell.program = "zsh";
|
|
programs.resticprofile.enable = true;
|
|
}
|
|
];
|
|
};
|
|
}
|