delete unused & barely started nix/home-manager-modules
parent
dbfd5c5058
commit
059ff2364c
@ -1,25 +0,0 @@
|
||||
# this stuff replaces all settings which would be configured by the corresponding frontend NixOS module
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.x-banananetwork.frontend;
|
||||
in
|
||||
{
|
||||
|
||||
config = lib.mkIf (cfg.enable && !cfg.nixosModuleCompat) {
|
||||
|
||||
assertions = [
|
||||
{
|
||||
assertion = !cfg.nixosModuleCompat;
|
||||
message = "missing implementation of base stuff";
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
||||
}:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./base.nix
|
||||
./extension.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
||||
x-banananetwork.frontend = {
|
||||
|
||||
enable = lib.mkEnableOption ''
|
||||
settings for frontend configuration in Home-Manager
|
||||
'';
|
||||
|
||||
nixosModuleCompat = lib.mkEnableOption ''
|
||||
compatibility to the corresponding frontend NixOS configuration.
|
||||
|
||||
This is created by opting out to configure stuff
|
||||
which is already configured by the corresponding NixOS module.
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
# this stuff must all be compatible to settings already configured by the corresponding frontend NixOS module
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ }
|
Loading…
Reference in New Issue