summaryrefslogtreecommitdiff
path: root/hosts/larissa
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-03-14 16:02:18 -0300
committerLeonardo Santiago <[email protected]>2024-03-14 16:02:18 -0300
commit1ff39bc2cff34cb4aef22785d0d70bbc90efa3f5 (patch)
tree911d6570ccb3918f2839ef87dd633c91ed346874 /hosts/larissa
first commit
Diffstat (limited to 'hosts/larissa')
-rw-r--r--hosts/larissa/configuration.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/hosts/larissa/configuration.nix b/hosts/larissa/configuration.nix
new file mode 100644
index 0000000..b007ebd
--- /dev/null
+++ b/hosts/larissa/configuration.nix
@@ -0,0 +1,21 @@
+{ config, pkgs, lib, ... }:
+{
+ imports =
+ [
+ <nixos-hardware/raspberry-pi/4>
+ ./hardware-configuration.nix
+ ];
+ hardware = {
+ raspberry-pi."4".apply-overlays-dtmerge.enable = true;
+ deviceTree = {
+ enable = true;
+ filter = "*rpi-4-*.dtb";
+ };
+ };
+ console.enable = false;
+ environment.systemPackages = with pkgs; [
+ libraspberrypi
+ raspberrypi-eeprom
+ ];
+ system.stateVersion = "23.11";
+}