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

33 lines
649 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,
...
}: {
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
./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;
};
};
# Enable networking
networking.networkmanager.enable = true;
2024-03-05 20:59:28 +01:00
boot.supportedFilesystems = ["ntfs"];
2023-12-24 11:16:59 +01:00
}