Compare commits
2 Commits
0da781fddf
...
7baf7c1ac3
| Author | SHA1 | Date | |
|---|---|---|---|
| 7baf7c1ac3 | |||
| 64a083db65 |
+1
-8
@@ -787,17 +787,10 @@ in
|
|||||||
# Top-level toggle for this module
|
# Top-level toggle for this module
|
||||||
options.enableFlatpaks = lib.mkEnableOption "Enable automatic Flatpak installation";
|
options.enableFlatpaks = lib.mkEnableOption "Enable automatic Flatpak installation";
|
||||||
|
|
||||||
# Define myApps container safely
|
|
||||||
options.myApps = lib.mkOption {
|
|
||||||
type = lib.types.attrsOf (lib.types.attrsOf lib.types.str);
|
|
||||||
default = {};
|
|
||||||
description = "Top-level container for custom apps";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Wrap all configuration safely
|
# Wrap all configuration safely
|
||||||
config = lib.mkIf enableProgram {
|
config = lib.mkIf enableProgram {
|
||||||
|
|
||||||
# myApps container
|
# myApps container (just assign in config, do NOT declare options.myApps)
|
||||||
myApps = {
|
myApps = {
|
||||||
flatpaks = {
|
flatpaks = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -11,17 +11,10 @@ in
|
|||||||
# Top-level toggle for this module
|
# Top-level toggle for this module
|
||||||
options.enableFlatpaks = lib.mkEnableOption "Enable automatic Flatpak installation";
|
options.enableFlatpaks = lib.mkEnableOption "Enable automatic Flatpak installation";
|
||||||
|
|
||||||
# Define myApps container safely
|
|
||||||
options.myApps = lib.mkOption {
|
|
||||||
type = lib.types.attrsOf (lib.types.attrsOf lib.types.str);
|
|
||||||
default = {};
|
|
||||||
description = "Top-level container for custom apps";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Wrap all configuration safely
|
# Wrap all configuration safely
|
||||||
config = lib.mkIf enableProgram {
|
config = lib.mkIf enableProgram {
|
||||||
|
|
||||||
# myApps container
|
# myApps container (just assign in config, do NOT declare options.myApps)
|
||||||
myApps = {
|
myApps = {
|
||||||
flatpaks = {
|
flatpaks = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user