1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 03:39:32 +00:00
This commit is contained in:
Rae 5e 2025-03-03 19:32:11 -05:00
parent 7cdc89ddeb
commit f80f844343
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
4 changed files with 20 additions and 18 deletions

View file

@ -37,7 +37,7 @@
in builtins.listToAttrs [
(mkSystem "ioides" "x86_64") # main pc
(mkSystem "qemu" "x86_64") # emulatr...........
(mkSystem "near" "aarch_64") # raspberry pi 5 home server
(mkSystem "near" "aarch64") # raspberry pi 5 home server
];
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {

View file

@ -72,7 +72,7 @@
}
{
clock = {
date-format = "%b %d %y";
date-format = "%d %b %y";
time-format = "%I:%M %p";
content.string.text = "{date} {time}";
};

View file

@ -1,20 +1,12 @@
{ ... }: {
{ lib, ... }: {
raspberry-pi-nix.board = "bcm2712"; # RPI5 64bit
hardware.raspberry-pi.config.all = let
o = k: v: {
name = k;
value = {
enable = true;
value = v;
};
hardware.raspberry-pi.config.all = {
base-dt-params = {
BOOT_UART = { enable = true; value = 1; };
uart_2ndstage = { enable = true; value = 1; };
};
dt-overlays = {
disable-bt = { enable = true; params = {}; };
};
in {
base-dt-params = builtins.listToAttrs [
(o "BOOT_UART" 1)
(o "uart_2ndstage" 1)
];
dt-overlays = builtins.listToAttrs [
(o "disable-bt" {})
];
};
}