Raspberry Pi

This commit is contained in:
Daniel Langbein 2023-10-30 10:29:06 +01:00
parent 9c942d0be9
commit 692bd1ecd3
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 7 additions and 4 deletions

View File

@ -13,6 +13,9 @@
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
# Delete all files in /tmp during boot.
tmp.cleanOnBoot = true;
}; };
networking.hostName = "pi3bplus"; # Define your hostname. networking.hostName = "pi3bplus"; # Define your hostname.

View File

@ -14,13 +14,13 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; {
#device = "/dev/mmcblk0p2";
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4"; fsType = "ext4";
}; };
# TODO swapDevices = [ { device = "/swapfile"; size = 2048; } ];
#swapDevices = [ { device = "/swapfile"; size = 2048; } ];
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's