2023-01-10 02:38:06 +01:00
|
|
|
# Configuration pieces included on all (nixos) hosts
|
2023-07-17 16:50:07 +02:00
|
|
|
{ inputs, outputs, ... }:
|
2023-02-09 23:55:36 +01:00
|
|
|
let
|
2023-01-10 02:38:06 +01:00
|
|
|
imports = [
|
2023-06-15 20:08:20 +02:00
|
|
|
inputs.hyprland.nixosModules.default
|
2023-07-17 18:54:31 +02:00
|
|
|
inputs.disko.nixosModules.default
|
2023-06-15 20:08:20 +02:00
|
|
|
inputs.agenix.nixosModules.default
|
2023-03-12 05:24:25 +01:00
|
|
|
inputs.stylix.nixosModules.stylix
|
2023-03-07 15:19:18 +01:00
|
|
|
inputs.nur.nixosModules.nur
|
2023-04-27 01:08:20 +02:00
|
|
|
inputs.impermanence.nixosModule
|
2023-06-15 20:08:20 +02:00
|
|
|
inputs.slambda.nixosModule
|
2023-01-10 02:38:06 +01:00
|
|
|
|
2023-07-17 16:50:07 +02:00
|
|
|
./persistence.nix
|
2023-01-10 02:38:06 +01:00
|
|
|
./nix.nix
|
|
|
|
./openssh.nix
|
|
|
|
./fish.nix
|
|
|
|
./locale.nix
|
2023-01-10 16:05:48 +01:00
|
|
|
./wireless
|
2023-08-06 17:28:34 +02:00
|
|
|
# ./tailscale.nix
|
2023-03-12 05:24:25 +01:00
|
|
|
../../../../common
|
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-04-27 01:08:20 +02:00
|
|
|
# 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;
|
2023-01-12 20:49:08 +01:00
|
|
|
|
2023-07-22 16:21:29 +02:00
|
|
|
# Customize tty colors
|
|
|
|
stylix.targets.console.enable = true;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|