add hardware stuff and switching kaladin to an RX 6700

This commit is contained in:
Chris Cochrun 2023-04-07 15:08:24 -05:00
parent b1ca96c9d7
commit 5ecb11d825
3 changed files with 31 additions and 12 deletions

View file

@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
@ -30,7 +31,7 @@
};
};
outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, emacs, nix-bitcoin, libre-presenter, ... }:
outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, nixos-hardware, emacs, nix-bitcoin, libre-presenter, ... }:
let
system = "x86_64-linux";
username = "chris";
@ -102,6 +103,7 @@
./system/kaladin/configuration.nix
home-manager.nixosModules.home-manager
hyprland.nixosModules.default
nixos-hardware.nixosModules.common-gpu-amd
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;