From 124956e2d90a6d928f33862a6d84f39f2d34432b Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 30 Dec 2022 13:16:36 +0100 Subject: add flatpak --- configuration.nix | 1 + flatpak.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 flatpak.nix diff --git a/configuration.nix b/configuration.nix index f454846..ec51150 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,6 +11,7 @@ ./packages.nix ./users.nix ./zsh.nix + ./flatpak.nix # Mainly for minecraft # Desktop Environment to use ./desktop/plasma.nix diff --git a/flatpak.nix b/flatpak.nix new file mode 100644 index 0000000..73352a6 --- /dev/null +++ b/flatpak.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + services.flatpak.enable = true; + fileSystems."/var/lib/flatpak" = { + device = "/srv/flatpak"; + options = [ "bind" ]; + }; +} -- cgit 1.4.1