deleted generated files
This commit is contained in:
+7
-6
@@ -777,23 +777,24 @@ This will import all packages listed in ./assets/system/apps/flatpaks.conf
|
||||
{ lib, pkgs, config, ... }:
|
||||
|
||||
let
|
||||
moduleName = "flatpaks";
|
||||
username = config.defaultUser or "henrov";
|
||||
moduleName = "flatpaks";
|
||||
username = config.defaultUser or "henrov";
|
||||
flatpakConfPath = ./assets/system/apps/flatpaks.conf;
|
||||
|
||||
enableProgram = config.enableFlatpaks or false;
|
||||
in
|
||||
{
|
||||
# Top-level toggle for this program
|
||||
# Top-level toggle for this module
|
||||
options.enableFlatpaks = lib.mkEnableOption "Enable automatic Flatpak installation";
|
||||
|
||||
# Define myApps top-level option if it doesn't exist yet
|
||||
# Define myApps container safely
|
||||
options.myApps = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.value;
|
||||
type = lib.types.attrsOf (lib.types.attrsOf lib.types.str);
|
||||
default = {};
|
||||
description = "Top-level container for custom apps";
|
||||
};
|
||||
|
||||
# Wrap all configuration safely
|
||||
config = lib.mkIf enableProgram {
|
||||
|
||||
# myApps container
|
||||
@@ -806,7 +807,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# Deploy conf file
|
||||
# Deploy the conf file
|
||||
environment.etc."flatpak/flatpaks.conf".source = flatpakConfPath;
|
||||
|
||||
# Enable flatpak service
|
||||
|
||||
Reference in New Issue
Block a user