programs: discord: lift to own file
This commit is contained in:
@@ -489,25 +489,6 @@ in
|
|||||||
|
|
||||||
dig.sandbox.net = "all";
|
dig.sandbox.net = "all";
|
||||||
|
|
||||||
# creds, but also 200 MB of node modules, etc
|
|
||||||
discord.persist.byStore.private = [ ".config/discord" ];
|
|
||||||
discord.suggestedPrograms = [ "xwayland" ];
|
|
||||||
discord.sandbox.wrapperType = "inplace"; #< package contains broken symlinks that my wrapper can't handle
|
|
||||||
discord.sandbox.whitelistAudio = true;
|
|
||||||
discord.sandbox.whitelistDbus = [ "user" ]; # needed for xdg-open
|
|
||||||
discord.sandbox.whitelistWayland = true;
|
|
||||||
discord.sandbox.whitelistX = true;
|
|
||||||
discord.sandbox.net = "clearnet";
|
|
||||||
discord.sandbox.extraHomePaths = [
|
|
||||||
# still needs these paths despite it using the portal's file-chooser :?
|
|
||||||
"Pictures/cat"
|
|
||||||
"Pictures/Screenshots"
|
|
||||||
"Pictures/servo-macros"
|
|
||||||
"Videos/local"
|
|
||||||
"Videos/servo"
|
|
||||||
"tmp"
|
|
||||||
];
|
|
||||||
|
|
||||||
# dtc -o may write a file, so needs directory access
|
# dtc -o may write a file, so needs directory access
|
||||||
dtc.sandbox.autodetectCliPaths = "existingFileOrParent";
|
dtc.sandbox.autodetectCliPaths = "existingFileOrParent";
|
||||||
|
|
||||||
|
@@ -37,6 +37,7 @@
|
|||||||
./deadd-notification-center
|
./deadd-notification-center
|
||||||
./dialect.nix
|
./dialect.nix
|
||||||
./dino.nix
|
./dino.nix
|
||||||
|
./discord.nix
|
||||||
./dissent.nix
|
./dissent.nix
|
||||||
./dtrx.nix
|
./dtrx.nix
|
||||||
./eg25-control.nix
|
./eg25-control.nix
|
||||||
|
22
hosts/common/programs/discord.nix
Normal file
22
hosts/common/programs/discord.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{ ... }: {
|
||||||
|
sane.programs.discord = {
|
||||||
|
# creds, but also 200 MB of node modules, etc
|
||||||
|
persist.byStore.private = [ ".config/discord" ];
|
||||||
|
suggestedPrograms = [ "xwayland" ];
|
||||||
|
sandbox.wrapperType = "inplace"; #< package contains broken symlinks that my wrapper can't handle
|
||||||
|
sandbox.whitelistAudio = true;
|
||||||
|
sandbox.whitelistDbus = [ "user" ]; # needed for xdg-open
|
||||||
|
sandbox.whitelistWayland = true;
|
||||||
|
sandbox.whitelistX = true;
|
||||||
|
sandbox.net = "clearnet";
|
||||||
|
sandbox.extraHomePaths = [
|
||||||
|
# still needs these paths despite it using the portal's file-chooser :?
|
||||||
|
"Pictures/cat"
|
||||||
|
"Pictures/Screenshots"
|
||||||
|
"Pictures/servo-macros"
|
||||||
|
"Videos/local"
|
||||||
|
"Videos/servo"
|
||||||
|
"tmp"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user