forked from clan/clan-core
Merge pull request 'Add bcachefs support. Fix clan flash docu.' (#1378) from Qubasa-main into main
This commit is contained in:
commit
24ec74ae37
@ -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"
|
||||
|
@ -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<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."
|
||||
|
@ -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!
|
||||
|
||||
|
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 = {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user