1

include host-specific system config from common system-config

This commit is contained in:
2022-08-09 22:23:04 +02:00
parent 3e5ff441d3
commit b2b4dcf704
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,9 @@ rec {
# Arguments with matching names are "plugged in" into the right slots, # Arguments with matching names are "plugged in" into the right slots,
# the case of different arity is handled by always providing ellipses (...) in module definitions # the case of different arity is handled by always providing ellipses (...) in module definitions
imports = [ imports = [
# Import the host-specific user-config
./${hostname} ./${hostname}
../../modules ../../modules
# inputs.nixvim.homeManagerModules.nixvim # inputs.nixvim.homeManagerModules.nixvim
@ -134,6 +136,7 @@ rec {
# Add stuff for your user as you see fit: # Add stuff for your user as you see fit:
home.packages = with pkgs; [ home.packages = with pkgs; [
# Firefox hardware video acceleration # Firefox hardware video acceleration
# TODO
libva libva
libva-utils libva-utils
nvidia-vaapi-driver nvidia-vaapi-driver

View File

@ -18,10 +18,7 @@ in {
{ nixpkgs.pkgs = pkgs; } { nixpkgs.pkgs = pkgs; }
# Main config file for all configs/hosts # Main config file for all configs/hosts
../nixos/configuration.nix ../nixos
# Host specifig config file
../nixos/${hostname}
] ]
extraModules extraModules