weather: attempts to get display working
This commit is contained in:
parent
18ba04a650
commit
c95ae96d03
@ -204,8 +204,7 @@
|
|||||||
] "europa";
|
] "europa";
|
||||||
pwntie = buildSys "x86_64-linux" stable [] "pwntie";
|
pwntie = buildSys "x86_64-linux" stable [] "pwntie";
|
||||||
stan = buildSys "x86_64-linux" unstable [] "stan";
|
stan = buildSys "x86_64-linux" unstable [] "stan";
|
||||||
weather = buildSys "aarch64-linux" stable
|
weather = buildSys "aarch64-linux" stable [] "weather";
|
||||||
[ nixos-hardware.nixosModules.raspberry-pi-4 ] "weather";
|
|
||||||
|
|
||||||
faf = buildSys "x86_64-linux" stable [./configs/hardened.nix] "faf";
|
faf = buildSys "x86_64-linux" stable [./configs/hardened.nix] "faf";
|
||||||
box = buildSys "x86_64-linux" stable [./configs/hardened.nix] "box";
|
box = buildSys "x86_64-linux" stable [./configs/hardened.nix] "box";
|
||||||
|
@ -19,17 +19,17 @@ in {
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd.availableKernelModules = ["usbhid" "usb_storage" "vc4" "rtc-ds3232" "rtc-ds1307"];
|
initrd.availableKernelModules = ["usbhid" "usb_storage" "vc4" "rtc-ds3232" "rtc-ds1307"];
|
||||||
kernelPackages = pkgs.linuxPackages;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
kernelModules = ["raspberrypi_ts" "rtc-ds3232" "rtc-ds1307"];
|
kernelModules = ["raspberrypi_ts" "rtc-ds3232" "rtc-ds1307"];
|
||||||
#kernelPatches = [{
|
kernelPatches = [{
|
||||||
# name = "touchscreen";
|
name = "touchscreen";
|
||||||
# patch = null;
|
patch = null;
|
||||||
# extraConfig = ''
|
extraConfig = ''
|
||||||
# CONFIG_TOUCHSCREEN_RASPBERRYPI_FW m
|
CONFIG_RTC_DRV_DS1307 m
|
||||||
# CONFIG_RTC_DRV_DS1307 m
|
CONFIG_RTC_DRV_DS3232 m
|
||||||
# CONFIG_RTC_DRV_DS3232 m
|
CONFIG_TOUCHSCREEN_RASPBERRYPI_FW m
|
||||||
# '';
|
'';
|
||||||
#}];
|
}];
|
||||||
loader = {
|
loader = {
|
||||||
grub.enable = false;
|
grub.enable = false;
|
||||||
generic-extlinux-compatible.enable = true;
|
generic-extlinux-compatible.enable = true;
|
||||||
@ -152,7 +152,7 @@ in {
|
|||||||
myLayoutHook =
|
myLayoutHook =
|
||||||
windowNavigation $
|
windowNavigation $
|
||||||
subTabbed $
|
subTabbed $
|
||||||
spacingRaw True (Border 20 5 5 5) True (Border 10 10 10 10) True $
|
spacingRaw True (Border 25 5 5 5) True (Border 10 10 10 10) True $
|
||||||
(tiled ||| Mirror tiled ||| Full)
|
(tiled ||| Mirror tiled ||| Full)
|
||||||
where
|
where
|
||||||
tiled =
|
tiled =
|
||||||
@ -175,7 +175,7 @@ in {
|
|||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
spawn "pkill polybar; polybar"
|
spawn "pkill polybar; polybar"
|
||||||
spawnOnce "firefox --kiosk https://graph.tapenet.org"
|
spawnOnce "firefox --kiosk https://home.bold.daemon/lovelace/0"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
#desktopManager.xfce.enable = true;
|
#desktopManager.xfce.enable = true;
|
||||||
@ -188,7 +188,7 @@ in {
|
|||||||
users.users.root = userBase;
|
users.users.root = userBase;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
qutebrowser
|
firefox
|
||||||
dtc
|
dtc
|
||||||
rofi
|
rofi
|
||||||
polybar
|
polybar
|
||||||
|
@ -12,28 +12,26 @@
|
|||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
hardware.deviceTree = {
|
#hardware.deviceTree = {
|
||||||
overlays = [
|
# overlays = [
|
||||||
#"${pkgs.raspberrypifw}/share/raspberrypi/boot/overlays/rpi-ft5406.dtbo"
|
# #"${pkgs.raspberrypifw}/share/raspberrypi/boot/overlays/rpi-ft5406.dtbo"
|
||||||
{
|
# {
|
||||||
name = "rpi4-cma-overlay";
|
# name = "rpi4-cma-overlay";
|
||||||
dtsText = ''
|
# dtsText = ''
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
# // SPDX-License-Identifier: GPL-2.0
|
||||||
/dts-v1/;
|
# /dts-v1/;
|
||||||
/plugin/;
|
# /plugin/;
|
||||||
/ {
|
# / {
|
||||||
compatible = "brcm,bcm2711";
|
# compatible = "brcm,bcm2711";
|
||||||
fragment@0 {
|
# fragment@0 {
|
||||||
target = <&cma>;
|
# target = <&cma>;
|
||||||
__overlay__ {
|
# __overlay__ {
|
||||||
size = <(512 * 1024 * 1024)>;
|
# size = <(512 * 1024 * 1024)>;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
'';
|
# '';
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
#};
|
||||||
|
|
||||||
#hardware.raspberry-pi."4".fkms-3d.enable = true;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user