Files
cyper-desktop/home/default.nix
2026-03-28 18:32:21 +01:00

74 lines
1.2 KiB
Nix

{
config,
primaryUser,
inputs,
self,
...
}:
{
imports = [
./packages.nix
./git.nix
./shell.nix
./xdg.nix
./neovim
./python.nix
./nixcord.nix
./spicetify.nix
./floorp.nix
./obsidian.nix
./desktop
inputs.sops-nix.homeManagerModules.sops
];
catppuccin = {
enable = false;
flavor = "mocha";
};
home = {
username = primaryUser;
stateVersion = "26.05";
sessionVariables = {
GROQ_API_KEY = config.sops.secrets.GROQ_API_KEY.path;
OPENWEATHER_API_KEY = config.sops.secrets.OPENWEATHER_API_KEY.path;
};
file = {
"Pictures/Avatar" = {
source = "${self}/assets/avatar";
recursive = true;
};
"Pictures/Wallpapers" = {
source = "${self}/assets/wallpapers";
recursive = true;
};
};
};
sops = {
defaultSopsFile = ../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/phil/.config/sops/age/keys.txt";
secrets = {
GROQ_API_KEY = { };
OPENWEATHER_API_KEY = { };
ssh_private_key = {
path = "/home/${primaryUser}/.ssh/ssh";
mode = "0600";
};
};
};
programs.man.enable = false;
}