mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
dont build fonts on minimal
This commit is contained in:
parent
992f88bb55
commit
a11df33b8c
3 changed files with 17 additions and 8 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
lib,
|
||||
hostSpec,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf (!hostSpec.isMinimal) {
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
# Emoji and general symbols
|
||||
|
|
|
|||
6
hosts/common/disks/digital-ocean-disks.nix
Normal file
6
hosts/common/disks/digital-ocean-disks.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue