mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
refactor: modularize programs and services
This commit is contained in:
parent
191d3c3392
commit
f74e59d56b
16 changed files with 126 additions and 69 deletions
26
hosts/nixos/modules/services/flatpak.nix
Normal file
26
hosts/nixos/modules/services/flatpak.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
"org.prismlauncher.PrismLauncher"
|
||||
"org.vinegarhq.Sober"
|
||||
"org.vinegarhq.Vinegar"
|
||||
"com.spotify.Client"
|
||||
];
|
||||
overrides = {
|
||||
"org.prismlauncher.PrismLauncher".Context = {
|
||||
filesystems = [
|
||||
"home"
|
||||
];
|
||||
};
|
||||
"org.vinegarhq.Sober".Context = {
|
||||
filesystems = [
|
||||
"xdg-run/app/com.discordapp.Discord:create"
|
||||
"xdg-run/discord-ipc-0"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue