Files
Nomarchy/core/system/default.nix
Bernardo Magri e9c9342965 feat(system): add desktop preset module
Mirror of the laptop preset for the desktop form factor. New
`nomarchy.system.desktop.enable` defaults to `formFactor == "desktop"`,
so the installer's existing formFactor write auto-flips it on without
installer changes (same pattern as laptop).

The module pins `powerManagement.cpuFreqGovernor` to `"performance"`
(via mkDefault) and enables `services.zfs.{autoScrub,trim}` so a
future ZFS pool gets sensible maintenance for free. The ZFS knobs are
no-ops until the user adds zfs to `boot.supportedFilesystems`.

Battery widget filtering is already driven by `formFactor` itself in
`features/desktop/waybar/default.nix`, so the preset doesn't repeat
it. Closes the "Desktop preset module" Next item.
2026-04-26 08:51:28 +01:00

36 lines
699 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./options.nix
./state.nix
./branding.nix
./graphics.nix
./nix.nix
./scripts.nix
./systemd.nix
./virtualization.nix
./fonts.nix
./hardware.nix
./audio.nix
./bluetooth.nix
./network.nix
./impermanence.nix
./browser.nix
# Tier 1 system features (all opt-in via nomarchy.system.*).
./snapper.nix
./laptop.nix
./desktop.nix
./hibernate.nix
./containers.nix
./pam.nix
./input-method.nix
../../themes/engine/plymouth.nix
../../themes/engine/sddm.nix
];
time.timeZone = lib.mkDefault config.nomarchy.system.timezone;
nixpkgs.config.allowUnfree = true;
}