Moved user modules
This commit is contained in:
1 parent
9352fa2649
commit
0932432e11
80 files changed
+64
-6
No files matched your search
@@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.modrinth;
|
||||
in
|
||||
{
|
||||
options.modules.modrinth = {
|
||||
enable = mkEnableOption "modrinth";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
modules.unfree.allowedPackages = [
|
||||
"modrinth-app"
|
||||
"modrinth-app-unwrapped"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
modrinth-app
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user