diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 18:44:41 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 18:44:41 -0500 |
| commit | c5c3e72fb98f53e4ee0f501294c4fef08c67da1a (patch) | |
| tree | 355e35b1a919b0a62fb713722afa8d7fafbc402c /archetypes/profiles/pi/default.nix | |
| parent | 63c261391ea77f2d940997a7c403a7426b90ab02 (diff) | |
| download | nixos-c5c3e72fb98f53e4ee0f501294c4fef08c67da1a.tar.xz nixos-c5c3e72fb98f53e4ee0f501294c4fef08c67da1a.zip | |
simplify pi archetype
Diffstat (limited to 'archetypes/profiles/pi/default.nix')
| -rw-r--r-- | archetypes/profiles/pi/default.nix | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/archetypes/profiles/pi/default.nix b/archetypes/profiles/pi/default.nix index 8ea33e4..639111a 100644 --- a/archetypes/profiles/pi/default.nix +++ b/archetypes/profiles/pi/default.nix @@ -2,28 +2,27 @@ mkPi = lib.mkOverride 900; nixosConfig = { - # Use the extlinux boot loader. (NixOS wants to enable GRUB by default) - boot.loader.grub.enable = false; - # Enables the generation of /boot/extlinux/extlinux.conf - boot.loader.generic-extlinux-compatible.enable = true; + boot.loader = { + # Use the extlinux boot loader. (NixOS wants to enable GRUB by default) + grub.enable = false; + # Enables the generation of /boot/extlinux/extlinux.conf + generic-extlinux-compatible.enable = true; + }; }; homeConfig = { # Use raspian logo in fastfetch - programs.fastfetch = { - enable = mkPi true; - settings = { - logo.source = mkPi "raspbian"; - # Default options for the rest of this - # TODO figure out how to just override logo and keep defaults w/config file - modules = [ - "title" "separator" "os" "host" "kernel" "uptime" - "packages" "shell" "display" "de" "wm" "wmtheme" "theme" - "icons" "font" "cursor" "terminal" "terminalfont" "cpu" - "gpu" "memory" "swap" "disk" "localip" "battery" - "poweradapter" "locale" "break" "colors" - ]; - }; + programs.fastfetch.settings = { + logo.source = mkPi "raspbian"; + # Default options for the rest of this + # TODO figure out how to just override logo and keep defaults w/config file + modules = [ + "title" "separator" "os" "host" "kernel" "uptime" "packages" + "shell" "display" "de" "wm" "wmtheme" "theme" "icons" "font" + "cursor" "terminal" "terminalfont" "cpu" "gpu" "memory" "swap" + "disk" "localip" "battery" "poweradapter" "locale" "break" + "colors" + ]; }; }; in { |
