Implement hardware tweaks for flynode.

This commit is contained in:
Nolan Darilek 2024-11-24 16:39:46 -06:00
parent f9a447bd93
commit 582ba0060d
2 changed files with 20 additions and 1 deletions

View File

@ -21,6 +21,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1732483221,
"narHash": "sha256-kF6rDeCshoCgmQz+7uiuPdREVFuzhIorGOoPXMalL2U=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "45348ad6fb8ac0e8415f6e5e96efe47dd7f39405",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1731797254,
@ -40,6 +56,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
}

View File

@ -1,6 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
@ -8,7 +9,7 @@
};
outputs =
{ nixpkgs, home-manager, ... }:
{ nixpkgs, home-manager, nixos-hardware, ... }:
{
nixosConfigurations = {
nixbox = nixpkgs.lib.nixosSystem {
@ -25,6 +26,7 @@
flynode = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-z13-gen1
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;