- Relocate themes to assets/themes/ and update all references. - Implement custom SDDM theme and Plymouth theme enhancements. - Add themed templates for Alacritty, Hyprland, Waybar, and other apps. - Introduce Makima key remapper module and configuration. - Add Voxtype and Walker configurations. - Implement systemd power management and timeout optimizations. - Add Nautilus-python extensions for LocalSend. - Update branding assets and ASCII art integration.
30 lines
811 B
Nix
30 lines
811 B
Nix
{ lib, ... }:
|
|
|
|
let
|
|
stateFile = "/etc/nixos/state.json";
|
|
|
|
# Helper to read state from a file, with a default
|
|
readState = file: default:
|
|
if builtins.pathExists file then
|
|
builtins.fromJSON (builtins.readFile file)
|
|
else
|
|
default;
|
|
|
|
systemState = readState stateFile {};
|
|
in
|
|
{
|
|
config.nomarchy.system = {
|
|
dns = systemState.dns or "DHCP";
|
|
customDns = systemState.customDns or [];
|
|
wifi.powersave = systemState.wifi.powersave or true;
|
|
timezone = systemState.timezone or "UTC";
|
|
features = {
|
|
fingerprint = systemState.features.fingerprint or false;
|
|
fido2 = systemState.features.fido2 or false;
|
|
hybridGPU = systemState.features.hybridGPU or false;
|
|
makima = systemState.features.makima or false;
|
|
};
|
|
theme = systemState.theme or "nord";
|
|
};
|
|
}
|