30 lines
592 B
Nix
30 lines
592 B
Nix
{
|
|
flake,
|
|
pkgs,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
{
|
|
imports =
|
|
with builtins;
|
|
map (fn: ./${fn}) (filter (fn: fn != "default.nix") (attrNames (readDir ./.)))
|
|
++ [
|
|
flake.inputs.disko.nixosModules.default
|
|
|
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
];
|
|
zramSwap.enable = true;
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
nixpkgs.overlays = [
|
|
flake.inputs.self.overlays.default
|
|
# flake.inputs.deploy-rs.overlays.default
|
|
];
|
|
services.tailscale = {
|
|
enable = true;
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
openssh
|
|
git
|
|
deploy-rs
|
|
];
|
|
}
|