Files
nix-config/systems/vm/configuration.nix
2024-06-02 11:57:14 +02:00

40 lines
817 B
Nix

{ pkgs, config, ... }: {
age.identityPaths = [ /home/kopatz/.ssh/id_rsa ];
mainUser.layout = "de";
mainUser.variant = "us";
custom = {
user = {
name = "vm";
layout = "de";
variant = "us";
};
cli-tools.enable = true;
nix = {
index.enable = true;
ld.enable = true;
settings.enable = true;
};
services = {
#adam-site.enable = true;
kop-fileshare = {
enable = true;
basePath = "/stash";
};
};
graphical = { lxqt.enable = true; };
};
environment.systemPackages = [ pkgs.firefox ];
services.nginx = {
enable = true;
virtualHosts = {
"localhost" = {
forceSSL = false;
enableACME = false;
locations."/stash".proxyPass = "http://127.0.0.1:7777";
};
};
};
}