Add multihardware support

This commit is contained in:
langedev 2023-11-19 20:48:22 -08:00
parent 0cc3e1fc29
commit d1e5130d3f
6 changed files with 30 additions and 11 deletions

View file

@ -4,12 +4,15 @@
{ config, pkgs, ... }:
{
let
systemType = "laptop";
#systemType = "desktop";
in {
nix.package = pkgs.nixUnstable;
imports =
[
# Hardware Settings (hardware scan)
./hardware-configuration.nix
# Hardware Specific Configuration
./${systemType}.nix
# System essentials (boot, lang, hostname, ...)
./modules/system
@ -21,15 +24,10 @@
./modules/audio/pipewire
./modules/shell/fish # This enables fish as the default shell
./modules/network/browsers/librewolf
./modules/network/networking
./modules/network/syncthing
./modules/network/bluetooth
./modules/login/greetd
# ./modules/graphics/nvidia
];
nixpkgs.config.allowUnfree = true;