Add flatpak enable option

This commit is contained in:
Tyler Kelley 2024-02-06 00:56:13 -06:00
parent fab9d17ee2
commit ccf31c5fb0
3 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@
./autorun.nix
./boot.nix
./displaymanager.nix
./flatpak.nix
./hwclock.nix
./intel-amd.nix
./intel-gpu.nix

View File

@ -0,0 +1,6 @@
{ config, lib, ... }:
let inherit (import ../../options.nix) flatpak; in
lib.mkIf ("${flatpak}" == "on") {
services.flatpak.enable = true;
}

View File

@ -30,5 +30,6 @@
nfsDevice = "nas:/volume1/nas";
localHWClock = "off";
ntp = "on";
flatpak = "on";
}