2023-01-10 02:38:06 +01:00
|
|
|
# Configuration pieces included on all (nixos) hosts
|
2023-02-09 23:55:36 +01:00
|
|
|
{ inputs, outputs, lib, colorscheme, ... }:
|
|
|
|
let
|
2023-01-10 02:38:06 +01:00
|
|
|
imports = [
|
|
|
|
inputs.agenix.nixosModule
|
2023-01-26 21:49:43 +01:00
|
|
|
inputs.base16.nixosModule
|
2023-02-19 22:47:42 +01:00
|
|
|
inputs.slambda.nixosModule
|
2023-01-10 02:38:06 +01:00
|
|
|
# inputs.impermanence.nixosModule
|
|
|
|
|
|
|
|
./nix.nix
|
|
|
|
./openssh.nix
|
|
|
|
./fish.nix
|
|
|
|
./locale.nix
|
2023-01-10 16:05:48 +01:00
|
|
|
./wireless
|
2023-01-10 02:38:06 +01:00
|
|
|
];
|
2023-02-09 23:55:36 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# Import all modules defined in modules/nixos
|
|
|
|
imports = builtins.attrValues outputs.nixosModules ++ imports;
|
2023-01-10 02:38:06 +01:00
|
|
|
|
2023-01-12 20:49:08 +01:00
|
|
|
age.identityPaths = [
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
|
|
|
];
|
|
|
|
|
2023-02-09 07:31:10 +01:00
|
|
|
scheme = lib.mkDefault colorscheme;
|
2023-01-26 21:49:43 +01:00
|
|
|
|
2023-01-10 02:38:06 +01:00
|
|
|
nixpkgs = {
|
|
|
|
# Add all overlays defined in the overlays directory
|
|
|
|
overlays = builtins.attrValues outputs.overlays ++ [
|
|
|
|
inputs.neovim-nightly-overlay.overlay
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|