nix-config/hosts/common/global/default.nix

35 lines
695 B
Nix
Raw Normal View History

2023-12-24 11:16:59 +01:00
# This file (and the global directory) holds config that i use on all hosts
{
inputs,
outputs,
2023-12-25 23:11:54 +01:00
config,
2023-12-24 11:16:59 +01:00
...
}: {
imports =
[
inputs.home-manager.nixosModules.home-manager
2023-12-25 23:11:54 +01:00
./user.nix
2023-12-24 11:16:59 +01:00
./fish.nix
./locale.nix
./nix.nix
./podman.nix
./power-button.nix
./documentation.nix
2023-12-24 11:16:59 +01:00
]
++ (builtins.attrValues outputs.nixosModules);
home-manager.extraSpecialArgs = {inherit inputs outputs;};
nixpkgs = {
overlays = builtins.attrValues outputs.overlays;
config = {
allowUnfree = true;
};
};
# Fix for qt6 plugins
environment.profileRelativeSessionVariables = {
QT_PLUGIN_PATH = ["/lib/qt-6/plugins"];
};
}