other more different pi4 stuffs
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
openFirewall = true;
|
||||
mutableSettings = true;
|
||||
settings = {
|
||||
http.address = "0.0.0.0:0";
|
||||
users = [
|
||||
{
|
||||
name = "mjallen";
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user