Format project using nixfmt rfc candidate.
This commit is contained in:
parent
1f63817684
commit
a9f7fe416f
91 changed files with 1347 additions and 1000 deletions
|
@ -1,11 +1,16 @@
|
|||
{nixos-hardware, ...}: {
|
||||
{ nixos-hardware, ... }:
|
||||
{
|
||||
imports = [
|
||||
nixos-hardware.nixosModules.raspberry-pi-5
|
||||
];
|
||||
|
||||
boot = {
|
||||
kernelParams = [ "8250.nr_uarts=11" "console=ttyAMA10,9600" "console=tty0" ];
|
||||
supportedFilesystems = ["btrfs"];
|
||||
kernelParams = [
|
||||
"8250.nr_uarts=11"
|
||||
"console=ttyAMA10,9600"
|
||||
"console=tty0"
|
||||
];
|
||||
supportedFilesystems = [ "btrfs" ];
|
||||
initrd.systemd.enableTpm2 = false;
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = false;
|
||||
|
@ -14,7 +19,12 @@
|
|||
"/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = ["defaults" "size=2G" "mode=755" "noexec"];
|
||||
options = [
|
||||
"defaults"
|
||||
"size=2G"
|
||||
"mode=755"
|
||||
"noexec"
|
||||
];
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/F8BB-8019";
|
||||
|
@ -23,25 +33,40 @@
|
|||
"/nix" = {
|
||||
device = "/dev/disk/by-uuid/7741fa2e-ce5d-4aef-bf3c-8e283e973409";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=nix" "compress=zstd" "noatime"];
|
||||
options = [
|
||||
"subvol=nix"
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
];
|
||||
neededForBoot = true;
|
||||
};
|
||||
"/persist" = {
|
||||
device = "/dev/disk/by-uuid/7741fa2e-ce5d-4aef-bf3c-8e283e973409";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=persist" "compress=zstd" "noexec"];
|
||||
options = [
|
||||
"subvol=persist"
|
||||
"compress=zstd"
|
||||
"noexec"
|
||||
];
|
||||
neededForBoot = true;
|
||||
};
|
||||
"/snapshots" = {
|
||||
device = "/dev/disk/by-uuid/7741fa2e-ce5d-4aef-bf3c-8e283e973409";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=snapshots" "compress=zstd" "noexec"];
|
||||
options = [
|
||||
"subvol=snapshots"
|
||||
"compress=zstd"
|
||||
"noexec"
|
||||
];
|
||||
neededForBoot = false;
|
||||
};
|
||||
"/mnt/WD" = {
|
||||
device = "/dev/disk/by-uuid/EA2866C92866947B";
|
||||
fsType = "ntfs";
|
||||
options = ["nofail" "x-systemd.automount"];
|
||||
options = [
|
||||
"nofail"
|
||||
"x-systemd.automount"
|
||||
];
|
||||
neededForBoot = false;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue