nix-config/hosts/common/global/default.nix
GHOSCHT c50872c6e7
Move code to fitting file
Server had unnecessary options enabled
2024-03-03 12:01:23 +01:00

32 lines
637 B
Nix

# This file (and the global directory) holds config that i use on all hosts
{
inputs,
outputs,
config,
...
}: {
imports =
[
inputs.home-manager.nixosModules.home-manager
./user.nix
./fish.nix
./locale.nix
./nix.nix
./podman.nix
./power-button.nix
./documentation.nix
]
++ (builtins.attrValues outputs.nixosModules);
home-manager.extraSpecialArgs = {inherit inputs outputs;};
nixpkgs = {
overlays = builtins.attrValues outputs.overlays;
config = {
allowUnfree = true;
};
};
# Enable networking
networking.networkmanager.enable = true;
}