working home manager switch without --impure
This commit is contained in:
@@ -1,10 +1,43 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake.homeModules.users.john = {
|
||||
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; [
|
||||
rebuild
|
||||
sops
|
||||
git
|
||||
ssh
|
||||
shell-tools
|
||||
home # placeholder
|
||||
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;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user