enable Flatpak

This commit is contained in:
Trolli Schmittlauch 2020-01-24 20:09:14 +01:00
parent 9775790e5e
commit d066136c0c

View file

@ -6,6 +6,7 @@
let
fsOptions = [ "noatime" "ssd" "space_cache" "compress=zstd" ];
unstable = import <nixos-unstable> {};
in {
imports =
@ -144,6 +145,16 @@ in {
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
# Flatpak support
services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
# nixpkgs.config.packageOverrides = pkgs:
# {
# flatpak = unstable.flatpak;
# flatpak-builder = unstable.flatpak-builder;
# ostree = unstable.ostree;
# };
# Define a user account. Don't forget to set a password with passwd.
users.extraUsers.spiollinux = {
isNormalUser = true;