diff options
-rw-r--r-- | configuration.nix | 1 | ||||
-rw-r--r-- | flatpak.nix | 9 |
2 files changed, 10 insertions, 0 deletions
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" ]; + }; +} |