disabled switch precense, since I lend my switch to my cousin

This commit is contained in:
Danilo Reyes 2025-02-09 14:37:19 -06:00
parent cac6af6c06
commit b6eeb2d9fb

View File

@ -12,12 +12,12 @@
switch.enable = lib.mkEnableOption "enable";
};
config = lib.mkIf config.my.apps.gaming.enable {
sops.secrets.switch-presence = {
sopsFile = ../../secrets/env.yaml;
format = "dotenv";
owner = config.users.users.jawz.name;
inherit (config.users.users.jawz) group;
};
# sops.secrets.switch-presence = lib.mkIf config.my.apps.gaming.switch.enable {
# sopsFile = ../../secrets/env.yaml;
# format = "dotenv";
# owner = config.users.users.jawz.name;
# inherit (config.users.users.jawz) group;
# };
programs = {
gamemode.enable = true;
steam = {
@ -30,10 +30,10 @@
};
services = lib.mkIf config.my.apps.switch.enable {
switch-boot.enable = true;
switch-presence = {
enable = true;
environmentFile = config.sops.secrets.switch-presence.path;
};
# switch-presence = {
# enable = true;
# environmentFile = config.sops.secrets.switch-presence.path;
# };
};
users.users.jawz.packages = builtins.attrValues {
inherit (pkgs)