mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +00:00
35 lines
926 B
Nix
35 lines
926 B
Nix
{ inputs, globals, overlays }:
|
|
|
|
[
|
|
globals
|
|
inputs.home-manager.nixosModules.home-manager
|
|
{
|
|
nixpkgs.overlays = overlays;
|
|
networking.hostName = "arrow";
|
|
physical = false;
|
|
server = true;
|
|
gui.enable = false;
|
|
theme.colors = (import ../../colorscheme/gruvbox).dark;
|
|
publicKeys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s personal"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKpPU2G9rSF8Q6waH62IJexDCQ6lY+8ZyVufGE3xMDGw deploy"
|
|
];
|
|
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
|
|
cloudflare.enable = true;
|
|
services.openssh.enable = true;
|
|
services.caddy.enable = true;
|
|
services.transmission.enable = true;
|
|
|
|
virtualisation.vmVariant = {
|
|
virtualisation.forwardPorts = [{
|
|
from = "host";
|
|
host.port = 2222;
|
|
guest.port = 22;
|
|
}];
|
|
};
|
|
}
|
|
../../modules/common
|
|
../../modules/nixos
|
|
]
|
|
|