Add bcachefs support. Fix clan flash docu.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
site_name: cLAN Docs
|
site_name: Clan Docs
|
||||||
site_url: https://docs.clan.lol
|
site_url: https://docs.clan.lol
|
||||||
repo_url: https://git.clan.lol/clan/clan-core/
|
repo_url: https://git.clan.lol/clan/clan-core/
|
||||||
repo_name: clan-core
|
repo_name: clan-core
|
||||||
@@ -148,7 +148,6 @@ plugins:
|
|||||||
match_path: blog/posts/.*
|
match_path: blog/posts/.*
|
||||||
use_git: false
|
use_git: false
|
||||||
date_from_meta:
|
date_from_meta:
|
||||||
title: "Clan Blog"
|
|
||||||
as_creation: "date"
|
as_creation: "date"
|
||||||
as_update: "date"
|
as_update: "date"
|
||||||
datetime_format: "%Y-%m-%d %H:%M"
|
datetime_format: "%Y-%m-%d %H:%M"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ sudo umount /dev/sdb1
|
|||||||
It also includes the language and keymap currently used into the installer image.
|
It also includes the language and keymap currently used into the installer image.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
clan flash flash-installer --disk main /dev/sd<X>
|
clan --flake git+https://git.clan.lol/clan/clan-core flash flash-installer --disk main /dev/sd<X>
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! Danger "Specifying the wrong device can lead to unrecoverable data loss."
|
!!! Danger "Specifying the wrong device can lead to unrecoverable data loss."
|
||||||
|
|||||||
@@ -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!
|
Create your own clan with these initial steps and manage a fleet of machines with one single testable git repository!
|
||||||
|
|
||||||
|
|||||||
12
nixosModules/bcachefs.nix
Normal file
12
nixosModules/bcachefs.nix
Normal file
@@ -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
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -2,9 +2,11 @@
|
|||||||
{
|
{
|
||||||
flake.nixosModules = {
|
flake.nixosModules = {
|
||||||
hidden-ssh-announce.imports = [ ./hidden-ssh-announce.nix ];
|
hidden-ssh-announce.imports = [ ./hidden-ssh-announce.nix ];
|
||||||
|
bcachefs.imports = [ ./bcachefs.nix ];
|
||||||
installer.imports = [
|
installer.imports = [
|
||||||
./installer
|
./installer
|
||||||
self.nixosModules.hidden-ssh-announce
|
self.nixosModules.hidden-ssh-announce
|
||||||
|
self.nixosModules.bcachefs
|
||||||
];
|
];
|
||||||
clanCore.imports = [
|
clanCore.imports = [
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
|||||||
Reference in New Issue
Block a user