mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 18:52:43 +00:00
feat(wechat): bwrapped wechat from nur
This commit is contained in:
parent
0e8eae72d1
commit
f33575d2ff
6 changed files with 46 additions and 1 deletions
|
|
@ -58,7 +58,7 @@
|
|||
);
|
||||
in {
|
||||
imports = [
|
||||
../../../hardening/nixpaks/default.nix
|
||||
../../../hardening/nixpaks
|
||||
];
|
||||
|
||||
home.packages = with pkgs;
|
||||
|
|
|
|||
9
nixcfgs/users/js0ny/programs/sandboxed.nix
Normal file
9
nixcfgs/users/js0ny/programs/sandboxed.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{config, ...}: let
|
||||
home = config.home.homeDirectory;
|
||||
user = config.home.username;
|
||||
in {
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"d ${home}/.sandbox/exchange 0755 ${user} users -"
|
||||
"d ${home}/.sandbox/downloads 0755 ${user} users -"
|
||||
];
|
||||
}
|
||||
12
nixcfgs/users/js0ny/programs/social/wechat.nix
Normal file
12
nixcfgs/users/js0ny/programs/social/wechat.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"d ${config.home.homeDirectory}/.sandbox/.per-app/wechat 0755 ${config.home.username} users -"
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
wechat-uos-sandboxed
|
||||
];
|
||||
}
|
||||
|
|
@ -10,6 +10,8 @@ in {
|
|||
# General config
|
||||
./default.nix
|
||||
|
||||
./programs/sandboxed.nix
|
||||
|
||||
# Use Gnome-keyring for GUI setup
|
||||
../../modules/home/gnome-keyrings.nix
|
||||
|
||||
|
|
@ -73,6 +75,7 @@ in {
|
|||
# Social
|
||||
./programs/social/discord.nix
|
||||
./programs/social/telegram.nix
|
||||
./programs/social/wechat.nix
|
||||
|
||||
# Utilities & misc
|
||||
# ./programs/xilinx.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue