diff options
author | sils <sils@sils.li> | 2022-12-30 13:16:36 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2022-12-30 13:16:36 +0100 |
commit | 124956e2d90a6d928f33862a6d84f39f2d34432b (patch) | |
tree | f12b66e642f1609a507b96900c7d9fe31be18b0e | |
parent | demodularize (diff) | |
download | nix-config-124956e2d90a6d928f33862a6d84f39f2d34432b.tar.gz nix-config-124956e2d90a6d928f33862a6d84f39f2d34432b.zip |
add flatpak
-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" ]; + }; +} |