1
Fork 0
satellite/hosts/nixos/common/global/default.nix
2023-07-17 18:54:31 +02:00

41 lines
1 KiB
Nix

# Configuration pieces included on all (nixos) hosts
{ inputs, outputs, ... }:
let
imports = [
inputs.hyprland.nixosModules.default
inputs.disko.nixosModules.default
inputs.agenix.nixosModules.default
inputs.stylix.nixosModules.stylix
inputs.nur.nixosModules.nur
inputs.impermanence.nixosModule
inputs.slambda.nixosModule
./persistence.nix
./nix.nix
./openssh.nix
./fish.nix
./locale.nix
./wireless
../../../../common
];
in
{
# Import all modules defined in modules/nixos
imports = builtins.attrValues outputs.nixosModules ++ imports;
# Allow non root users to specify the "allowOther" option.
# See [the imperanence readme](https://github.com/nix-community/impermanence#home-manager)
programs.fuse.userAllowOther = true;
nixpkgs = {
# Add all overlays defined in the overlays directory
overlays = builtins.attrValues outputs.overlays ++ [
inputs.neovim-nightly-overlay.overlay
];
config = {
allowUnfree = true;
};
};
}