From 989aaa37dae60c4240ad99123df6da3bc4c752c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Mon, 16 Mar 2026 18:30:40 -0600 Subject: [PATCH] feat(fruitbook): nixos-hardware --- flake.lock | 16 ++++++++++++++++ flake.nix | 1 + hosts/fruitbook/configuration.nix | 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 8636d3e..a39729c 100644 --- a/flake.lock +++ b/flake.lock @@ -436,6 +436,21 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1773533765, + "narHash": "sha256-qonGfS2lzCgCl59Zl63jF6dIRRpvW3AJooBGMaXjHiY=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "f8e82243fd601afb9f59ad230958bd073795cbfe", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1741402956, @@ -700,6 +715,7 @@ "niri": "niri", "nixarr": "nixarr", "nixcord": "nixcord", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_6", "nur": "nur", "sops-nix": "sops-nix", diff --git a/flake.nix b/flake.nix index 1001f56..a126b03 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ inputs.nixpkgs.follows = "nixpkgs"; inputs.vpnconfinement.follows = "vpn-confinement"; }; + nixos-hardware.url = "github:NixOS/nixos-hardware"; # Used for Firefox extensions/addons. nur = { url = "github:nix-community/NUR"; diff --git a/hosts/fruitbook/configuration.nix b/hosts/fruitbook/configuration.nix index 0b3da67..a0bd40a 100644 --- a/hosts/fruitbook/configuration.nix +++ b/hosts/fruitbook/configuration.nix @@ -1,9 +1,10 @@ -{ config, pkgs, lib, disko, ... }: +{ config, pkgs, lib, disko, nixos-hardware, ... }: { imports = [ ./hardware.nix ./filesystems.nix + nixos-hardware.nixosModules.apple-macbook-pro-12-1 ]; sydnix = {