forked from clan/clan-core
Add description field to function-schema
This commit is contained in:
parent
a09e680fa0
commit
b95d95554a
@ -12,11 +12,11 @@
|
||||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
self.clanModules.diskLayouts
|
||||
self.clanModules.disk-layouts
|
||||
(modulesPath + "/testing/test-instrumentation.nix") # we need these 2 modules always to be able to run the tests
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
clan.diskLayouts.singleDiskExt4.device = "/dev/vdb";
|
||||
clan.disk-layouts.singleDiskExt4.device = "/dev/vdb";
|
||||
|
||||
environment.etc."install-successful".text = "ok";
|
||||
|
||||
|
2
clanModules/borgbackup/README.md
Normal file
2
clanModules/borgbackup/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
BorgBackup is an efficient backup program that uses data deduplication to store only changes, making it ideal for daily backups. It offers optional compression and authenticated encryption, ensuring secure backups even to untrusted targets.
|
||||
---
|
1
clanModules/disk-layouts/README.md
Normal file
1
clanModules/disk-layouts/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -1,6 +1,6 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
options.clan.diskLayouts.singleDiskExt4 = {
|
||||
options.clan.disk-layouts.singleDiskExt4 = {
|
||||
device = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
example = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S21PNXAGB12345";
|
||||
@ -13,7 +13,7 @@
|
||||
disk = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = config.clan.diskLayouts.singleDiskExt4.device;
|
||||
device = config.clan.disk-layouts.singleDiskExt4.device;
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
1
clanModules/ergochat/README.md
Normal file
1
clanModules/ergochat/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -1,28 +1,34 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake.clanModules = {
|
||||
diskLayouts = {
|
||||
disk-layouts = {
|
||||
imports = [
|
||||
./diskLayouts.nix
|
||||
./disk-layouts
|
||||
inputs.disko.nixosModules.default
|
||||
];
|
||||
};
|
||||
borgbackup = ./borgbackup.nix;
|
||||
ergochat = ./ergochat.nix;
|
||||
borgbackup = ./borgbackup;
|
||||
ergochat = ./ergochat;
|
||||
deltachat = ./deltachat;
|
||||
graphical = ./graphical.nix;
|
||||
localbackup = ./localbackup.nix;
|
||||
localsend = ./localsend.nix;
|
||||
matrix-synapse = ./matrix-synapse.nix;
|
||||
moonlight = ./moonlight.nix;
|
||||
sshd = ./sshd.nix;
|
||||
sunshine = ./sunshine.nix;
|
||||
graphical = ./graphical;
|
||||
localbackup = ./localbackup;
|
||||
localsend = ./localsend;
|
||||
matrix-synapse = ./matrix-synapse;
|
||||
moonlight = ./moonlight;
|
||||
sshd = ./sshd;
|
||||
sunshine = ./sunshine;
|
||||
syncthing = ./syncthing;
|
||||
root-password = ./root-password;
|
||||
thelounge = ./thelounge.nix;
|
||||
vm-user = ./vm-user.nix;
|
||||
xfce = ./xfce.nix;
|
||||
xfce-vm = ./xfce-vm.nix;
|
||||
zt-tcp-relay = ./zt-tcp-relay.nix;
|
||||
thelounge = ./thelounge;
|
||||
vm-user = ./vm-user;
|
||||
xfce = ./xfce;
|
||||
xfce-vm = {
|
||||
imports = [
|
||||
./vm-user
|
||||
./graphical
|
||||
./xfce-vm
|
||||
];
|
||||
};
|
||||
zt-tcp-relay = ./zt-tcp-relay;
|
||||
};
|
||||
}
|
||||
|
1
clanModules/graphical/README.md
Normal file
1
clanModules/graphical/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/localbackup/README.md
Normal file
1
clanModules/localbackup/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/localsend/README.md
Normal file
1
clanModules/localsend/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/matrix-synapse/README.md
Normal file
1
clanModules/matrix-synapse/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/moonlight/README.md
Normal file
1
clanModules/moonlight/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/sshd/README.md
Normal file
1
clanModules/sshd/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/sunshine/README.md
Normal file
1
clanModules/sunshine/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/thelounge/README.md
Normal file
1
clanModules/thelounge/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/vm-user/README.md
Normal file
1
clanModules/vm-user/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/xfce-vm/README.md
Normal file
1
clanModules/xfce-vm/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -1,9 +1,4 @@
|
||||
{
|
||||
imports = [
|
||||
./vm-user.nix
|
||||
./graphical.nix
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.autoLogin.enable = true;
|
1
clanModules/xfce/README.md
Normal file
1
clanModules/xfce/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
clanModules/zt-tcp-relay/README.md
Normal file
1
clanModules/zt-tcp-relay/README.md
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -55,7 +55,7 @@ nav:
|
||||
- clanModules:
|
||||
- reference/clanModules/borgbackup.md
|
||||
- reference/clanModules/deltachat.md
|
||||
- reference/clanModules/diskLayouts.md
|
||||
- reference/clanModules/disk-layouts.md
|
||||
- reference/clanModules/ergochat.md
|
||||
- reference/clanModules/graphical.md
|
||||
- reference/clanModules/localbackup.md
|
||||
|
@ -46,7 +46,7 @@
|
||||
checks = {
|
||||
module-schema = pkgs.runCommand "schema-checks" { } ''
|
||||
${pkgs.check-jsonschema}/bin/check-jsonschema \
|
||||
--check-metaschema ${packages.module-schema}
|
||||
--check-metaschema --fill-defaults ${packages.module-schema}
|
||||
touch $out
|
||||
'';
|
||||
};
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
clan-core.clanModules.sshd
|
||||
clan-core.clanModules.diskLayouts
|
||||
clan-core.clanModules.disk-layouts
|
||||
clan-core.clanModules.root-password
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user