osu part 2
This commit is contained in:
parent
d718e5ac65
commit
f781c73d8d
@ -120,15 +120,10 @@ in
|
|||||||
profile osu-lazer @{bin}/osu\! flags=(attach_disconnected) {
|
profile osu-lazer @{bin}/osu\! flags=(attach_disconnected) {
|
||||||
include <abstractions/base> # read access to /nix/store, basic presets for most apps
|
include <abstractions/base> # read access to /nix/store, basic presets for most apps
|
||||||
|
|
||||||
# include <abstractions/audio-client>
|
|
||||||
include <abstractions/common/bwrap>
|
include <abstractions/common/bwrap>
|
||||||
# include <abstractions/ssl_certs>
|
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
# include <abstractions/vulkan-strict>
|
|
||||||
# include <abstractions/mesa>
|
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/app/udevadm>
|
include <abstractions/app/udevadm>
|
||||||
# include <abstractions/desktop>
|
|
||||||
include <abstractions/app/bus>
|
include <abstractions/app/bus>
|
||||||
include <abstractions/common/game>
|
include <abstractions/common/game>
|
||||||
|
|
||||||
@ -173,54 +168,24 @@ in
|
|||||||
owner @{HOME}/@{XDG_CONFIG_DIR}/mimeapps* rwk,
|
owner @{HOME}/@{XDG_CONFIG_DIR}/mimeapps* rwk,
|
||||||
owner @{HOME}/@{XDG_DATA_DIR}/applications/discord-*.desktop rwk,
|
owner @{HOME}/@{XDG_DATA_DIR}/applications/discord-*.desktop rwk,
|
||||||
|
|
||||||
/ r,
|
|
||||||
/nix/store/*-etc-os-release rk,
|
/nix/store/*-etc-os-release rk,
|
||||||
/nix/store/*/share/zoneinfo/** rk,
|
/nix/store/*/share/zoneinfo/** rk,
|
||||||
|
|
||||||
owner /tmp/** rwk,
|
owner /tmp/** rwk,
|
||||||
/usr/lib/ r,
|
/usr/lib/ r,
|
||||||
|
|
||||||
/var/cache/ldconfig/ rw,
|
owner /var/cache/ldconfig/ rw,
|
||||||
owner /etc/ld.so* rw,
|
owner /etc/ld.so* rw,
|
||||||
|
|
||||||
@{PROC}/@{pid}/stat rk,
|
owner @{PROC}/@{pid}/{maps,stat} rk,
|
||||||
@{PROC}/@{pid}/task/@{pid}/comm wr,
|
@{PROC}/sys/kernel/os{type,release} rk,
|
||||||
@{PROC}@{sys}/kernel/os{type,release} rk,
|
|
||||||
@{PROC}/version r,
|
|
||||||
@{PROC}/{sys,@{pid}}/net/** rk,
|
|
||||||
@{PROC}/@{pid}/maps rk,
|
|
||||||
|
|
||||||
/dev/snd/** rw,
|
/dev/snd/** rw,
|
||||||
/dev/input/ r,
|
|
||||||
/dev/dri/** wr,
|
|
||||||
/dev/input/** r,
|
|
||||||
/dev/udmabuf wr,
|
/dev/udmabuf wr,
|
||||||
/dev/hidraw* rw,
|
|
||||||
|
|
||||||
/.host-etc/alsa/conf.d/{,**} r,
|
/.host-etc/alsa/conf.d/{,**} r,
|
||||||
/.host-etc/ssl/certs/{,**} r,
|
/.host-etc/ssl/certs/{,**} r,
|
||||||
/.host-etc/resolv.conf rk,
|
/.host-etc/resolv.conf rk,
|
||||||
|
|
||||||
/run/udev/data/* r,
|
|
||||||
|
|
||||||
# @{sys}/devices/@{pci}device r,
|
|
||||||
# @{sys}/devices/@{pci}boot_vga r,
|
|
||||||
# @{sys}/devices/@{pci}subsystem_vendor r,
|
|
||||||
# @{sys}/devices/@{pci}subsystem_device r,
|
|
||||||
# @{sys}/devices/virtual/dmi/id/* r,
|
|
||||||
# @{sys}/devices/@{pci}uevent r,
|
|
||||||
# @{sys}/devices/virtual/sound/** r,
|
|
||||||
# @{sys}/devices/virtual/block/** r,
|
|
||||||
# @{sys}/block/ r,
|
|
||||||
# @{sys}/devices@{sys}tem/node/ r,
|
|
||||||
# @{sys}/fs/cgroup/{,**/} r,
|
|
||||||
# @{sys}/fs/cgroup/** r,
|
|
||||||
# @{sys}/devices/@{pci}sound/** r,
|
|
||||||
# @{sys}/devices/@{pci}vendor r,
|
|
||||||
# @{sys}/class/hidraw/ r,
|
|
||||||
# @{sys}/class/input/ r,
|
|
||||||
# @{sys}/class/input/{,**} r,
|
|
||||||
# @{sys}/devices/**/input/** r,
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user