disabled switch precense, since I lend my switch to my cousin
This commit is contained in:
parent
cac6af6c06
commit
b6eeb2d9fb
@ -12,12 +12,12 @@
|
|||||||
switch.enable = lib.mkEnableOption "enable";
|
switch.enable = lib.mkEnableOption "enable";
|
||||||
};
|
};
|
||||||
config = lib.mkIf config.my.apps.gaming.enable {
|
config = lib.mkIf config.my.apps.gaming.enable {
|
||||||
sops.secrets.switch-presence = {
|
# sops.secrets.switch-presence = lib.mkIf config.my.apps.gaming.switch.enable {
|
||||||
sopsFile = ../../secrets/env.yaml;
|
# sopsFile = ../../secrets/env.yaml;
|
||||||
format = "dotenv";
|
# format = "dotenv";
|
||||||
owner = config.users.users.jawz.name;
|
# owner = config.users.users.jawz.name;
|
||||||
inherit (config.users.users.jawz) group;
|
# inherit (config.users.users.jawz) group;
|
||||||
};
|
# };
|
||||||
programs = {
|
programs = {
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
steam = {
|
steam = {
|
||||||
@ -30,10 +30,10 @@
|
|||||||
};
|
};
|
||||||
services = lib.mkIf config.my.apps.switch.enable {
|
services = lib.mkIf config.my.apps.switch.enable {
|
||||||
switch-boot.enable = true;
|
switch-boot.enable = true;
|
||||||
switch-presence = {
|
# switch-presence = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
environmentFile = config.sops.secrets.switch-presence.path;
|
# environmentFile = config.sops.secrets.switch-presence.path;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
users.users.jawz.packages = builtins.attrValues {
|
users.users.jawz.packages = builtins.attrValues {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user