diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 53f4d73e..393fd574 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cLAN Docs +site_name: Clan Docs site_url: https://docs.clan.lol repo_url: https://git.clan.lol/clan/clan-core/ repo_name: clan-core @@ -148,7 +148,6 @@ plugins: match_path: blog/posts/.* use_git: false date_from_meta: - title: "Clan Blog" as_creation: "date" as_update: "date" datetime_format: "%Y-%m-%d %H:%M" diff --git a/docs/site/getting-started/installer.md b/docs/site/getting-started/installer.md index 292efc15..57981e04 100644 --- a/docs/site/getting-started/installer.md +++ b/docs/site/getting-started/installer.md @@ -46,7 +46,7 @@ sudo umount /dev/sdb1 It also includes the language and keymap currently used into the installer image. ```bash - clan flash flash-installer --disk main /dev/sd + clan --flake git+https://git.clan.lol/clan/clan-core flash flash-installer --disk main /dev/sd ``` !!! Danger "Specifying the wrong device can lead to unrecoverable data loss." diff --git a/docs/site/index.md b/docs/site/index.md index 282cb907..ee2e0297 100644 --- a/docs/site/index.md +++ b/docs/site/index.md @@ -1,4 +1,4 @@ -# Getting Started +# Setup Create your own clan with these initial steps and manage a fleet of machines with one single testable git repository! diff --git a/nixosModules/bcachefs.nix b/nixosModules/bcachefs.nix new file mode 100644 index 00000000..77ef9fc9 --- /dev/null +++ b/nixosModules/bcachefs.nix @@ -0,0 +1,12 @@ +{ lib, pkgs, ... }: + +{ + # Enable bcachefs support + boot.supportedFilesystems.zfs = lib.mkForce false; + boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest; + boot.supportedFilesystems.bcachefs = lib.mkDefault true; + environment.systemPackages = with pkgs; [ + bcachefs-tools + keyutils + ]; +} diff --git a/nixosModules/flake-module.nix b/nixosModules/flake-module.nix index 4f34d493..e40cd662 100644 --- a/nixosModules/flake-module.nix +++ b/nixosModules/flake-module.nix @@ -2,9 +2,11 @@ { flake.nixosModules = { hidden-ssh-announce.imports = [ ./hidden-ssh-announce.nix ]; + bcachefs.imports = [ ./bcachefs.nix ]; installer.imports = [ ./installer self.nixosModules.hidden-ssh-announce + self.nixosModules.bcachefs ]; clanCore.imports = [ inputs.sops-nix.nixosModules.sops