nixos-configs/machines/gamepc/pim.home.nix
Pim Kunis 61da031e2b Install sunshine on gamepc
Automatically login user "pim" on gamepc
2024-12-10 19:41:35 +01:00

26 lines
521 B
Nix

{
self,
pkgs,
config,
...
}: {
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = "24.05";
packages = with pkgs.unstable; [
devenv
vlc
handbrake
lutris
];
};
sops = {
defaultSopsFile = "${self}/secrets/gamepc/pim.yaml";
# TODO: should be set automatically?
age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
secrets."sunshine_credentials".path = "${config.xdg.configHome}/sunshine/sunshine_credentials.json";
};
}