dont build fonts on minimal

This commit is contained in:
TheWanderingCrow 2025-07-31 10:41:37 -04:00
parent 992f88bb55
commit a11df33b8c
3 changed files with 17 additions and 8 deletions

View file

@ -1,4 +1,10 @@
{pkgs, ...}: {
{
lib,
hostSpec,
pkgs,
...
}:
lib.mkIf (!hostSpec.isMinimal) {
fonts = {
packages = with pkgs; [
# Emoji and general symbols

View file

@ -0,0 +1,6 @@
{
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
}

View file

@ -11,13 +11,9 @@
}: {
imports = lib.flatten [
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
{
_module.args = {
withSwap = false;
};
}
(map lib.custom.relativeToRoot [
"hosts/common/disks/digital-ocean-disks.nix"
])
# Misc
(map lib.custom.relativeToRoot [
@ -38,6 +34,7 @@
hostSpec = {
hostName = "Michishirube";
isMinimal = true;
};
networking = {