Add nixos-hardware repo

This commit is contained in:
Greg Hellings
2025-05-10 21:08:05 -05:00
parent 6db66fa45e
commit dc2786fc4b
4 changed files with 29 additions and 2 deletions
Generated
+16
View File
@@ -421,6 +421,21 @@
"type": "github" "type": "github"
} }
}, },
"nix-hardware": {
"locked": {
"lastModified": 1746814339,
"narHash": "sha256-hf2lICJzwACWuzHCmZn5NI6LUAOgGdR1yh8ip+duyhk=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "3c5e12673265dfb0de3d9121420c0c2153bf21e0",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixlib": { "nixlib": {
"locked": { "locked": {
"lastModified": 1736643958, "lastModified": 1736643958,
@@ -724,6 +739,7 @@
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"hmunstable": "hmunstable", "hmunstable": "hmunstable",
"hooks": "hooks", "hooks": "hooks",
"nix-hardware": "nix-hardware",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixunstable": "nixunstable", "nixunstable": "nixunstable",
"nixvimunstable": "nixvimunstable", "nixvimunstable": "nixvimunstable",
+1
View File
@@ -36,6 +36,7 @@
proxmox.url = "github:SaumonNet/proxmox-nixos"; proxmox.url = "github:SaumonNet/proxmox-nixos";
# To enable backups: https://github.com/SaumonNet/proxmox-nixos/pull/45 # To enable backups: https://github.com/SaumonNet/proxmox-nixos/pull/45
#proxmox.url = "github:blecher-at/proxmox-nixos/fix-backup-pve-manager"; #proxmox.url = "github:blecher-at/proxmox-nixos/fix-backup-pve-manager";
nix-hardware.url = "github:nixos/nixos-hardware";
nixos-generators = { nixos-generators = {
url = "github:nix-community/nixos-generators"; url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixunstable"; inputs.nixpkgs.follows = "nixunstable";
+9 -1
View File
@@ -2,11 +2,15 @@
config, config,
lib, lib,
pkgs, pkgs,
top,
... ...
}: }:
{ {
imports = [ ./hardware-configuration.nix ]; imports = [
./hardware-configuration.nix
top.nix-hardware.nixosModules.framework-11th-gen-intel
];
boot = { boot = {
loader = { loader = {
@@ -39,6 +43,10 @@
networkmanager.enable = lib.mkForce true; networkmanager.enable = lib.mkForce true;
}; };
services = {
fwupd.enable = true;
};
virtualisation = { virtualisation = {
podman.enable = true; podman.enable = true;
oci-containers.backend = "podman"; oci-containers.backend = "podman";
+3 -1
View File
@@ -1,7 +1,8 @@
{ {
config,
lib, lib,
pkgs, pkgs,
config, top,
... ...
}: }:
@@ -12,6 +13,7 @@
./podman.nix ./podman.nix
./virt.nix ./virt.nix
./work.nix ./work.nix
top.nix-hardware.nixosModules.system76
]; ];
programs = { programs = {
adb.enable = true; adb.enable = true;