blob: 639111af4bc4ce6ac35b85e21a39110a3acb683b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, pkgs, ... }: let
mkPi = lib.mkOverride 900;
nixosConfig = {
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.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 {
imports = [ (lib._mkProfileArchetype "pi" nixosConfig homeConfig) ];
}
|