2024-12-23 15:22:05 +00:00
|
|
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
2025-01-09 04:55:31 +00:00
|
|
|
imports = [
|
|
|
|
../modules/tui
|
|
|
|
inputs.catppuccin.homeManagerModules.catppuccin
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
] ++ (builtins.attrValues outputs.homeManagerModules);
|
2023-07-28 22:15:33 +00:00
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowUnfreePredicate = (_: true);
|
|
|
|
};
|
|
|
|
};
|
2023-07-23 18:44:51 +00:00
|
|
|
|
2023-07-28 22:15:33 +00:00
|
|
|
nix = {
|
|
|
|
package = lib.mkDefault pkgs.nix;
|
|
|
|
settings = {
|
2024-12-20 01:30:06 +00:00
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
2023-07-28 22:15:33 +00:00
|
|
|
warn-dirty = false;
|
|
|
|
};
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
|
|
|
|
2023-07-26 21:46:31 +00:00
|
|
|
home = {
|
2023-07-28 22:15:33 +00:00
|
|
|
username = lib.mkDefault "john";
|
2023-07-26 21:46:31 +00:00
|
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
2024-12-20 01:07:08 +00:00
|
|
|
stateVersion = lib.mkDefault "24.11";
|
2024-12-20 01:30:06 +00:00
|
|
|
sessionVariables = { EDITOR = "nvim"; };
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
|
|
|
|
2025-01-09 04:55:31 +00:00
|
|
|
programs = { home-manager.enable = true; };
|
2023-07-26 21:46:31 +00:00
|
|
|
|
2025-01-09 04:55:31 +00:00
|
|
|
sops = {
|
|
|
|
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
|
|
|
|
secrets.tempest-station = { sopsFile = ./secrets.yaml; };
|
|
|
|
secrets.tempest-token = { sopsFile = ./secrets.yaml; };
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
2023-07-26 21:46:31 +00:00
|
|
|
|
2024-12-23 15:22:05 +00:00
|
|
|
catppuccin = {
|
|
|
|
flavor = "mocha";
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2023-07-26 21:46:31 +00:00
|
|
|
targets.genericLinux.enable = true;
|
2023-07-23 18:44:51 +00:00
|
|
|
}
|