deleted generated files

This commit is contained in:
2026-03-19 13:18:23 +00:00
parent 2dedd98721
commit 688cbe5858
30 changed files with 7 additions and 1416 deletions
+7 -6
View File
@@ -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