other more different pi4 stuffs

This commit is contained in:
mjallen18
2025-05-18 18:45:02 -05:00
parent 8f32c03197
commit 7503bd41d3
5 changed files with 56 additions and 48 deletions

View File

@@ -5,6 +5,7 @@
openFirewall = true;
mutableSettings = true;
settings = {
http.address = "0.0.0.0:0";
users = [
{
name = "mjallen";

View File

@@ -10,6 +10,11 @@ in
};
plymouth.enable = true;
kernelPackages = pkgs.linuxPackages_latest;
initrd.postDeviceCommands = ''
echo "Running pre-boot fs resize"
/sbin/e2fsck -f /dev/mmcblk1p3
/sbin/resize2fs /dev/mmcblk1p3
'';
};
# hardware.raspberry-pi.config = {

View File

@@ -5,7 +5,7 @@
{ config, lib, pkgs, ... }:
let
user = "matt";
# password = config.sops.secrets."desktop/matt_password".path;
password = config.sops.secrets."desktop/matt_password".path;
# kernelBundle = pkgs.linuxAndFirmware.v6_6_31;
in
{
@@ -79,8 +79,7 @@ in
mutableUsers = false;
users."${user}" = {
isNormalUser = true;
# hashedPasswordFile = password;
password = "BogieDudie1";
hashedPasswordFile = password;
extraGroups = [
"wheel"
"docker"