mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 11:35:41 +00:00
feat: add flatpak
This commit is contained in:
parent
5706fe32cb
commit
783b7c8705
5 changed files with 41 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
@ -94,6 +95,27 @@
|
|||
};
|
||||
};
|
||||
services.zerotierone.enable = true;
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
"org.prismlauncher.PrismLauncher"
|
||||
"org.vinegarhq.Sober"
|
||||
"org.vinegarhq.Vinegar"
|
||||
];
|
||||
overrides = {
|
||||
"org.prismlauncher.PrismLauncher".Context = {
|
||||
filesystems = [
|
||||
"home"
|
||||
];
|
||||
};
|
||||
"org.vinegarhq.Sober".Context = {
|
||||
filesystems = [
|
||||
"xdg-run/app/com.discordapp.Discord:create"
|
||||
"xdg-run/discord-ipc-0"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue