This commit is contained in:
Kopatz
2024-06-03 18:25:20 +02:00
parent de415c09a9
commit 3e21d41ff0
43 changed files with 3004 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
{ pkgs, config, ... }: {
{ pkgs, config, lib, ... }: {
imports = [ ./vm-common.nix ];
age.identityPaths = [ /home/kopatz/.ssh/id_rsa ];
mainUser.layout = "de";
mainUser.variant = "us";
@@ -15,25 +16,13 @@
ld.enable = true;
settings.enable = true;
};
services = {
#adam-site.enable = true;
kop-fileshare = {
enable = true;
basePath = "/stash";
};
graphical = {
i3.enable = true;
};
graphical = { lxqt.enable = true; };
};
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [ firefox ];
environment.systemPackages = [ pkgs.firefox ];
services.nginx = {
enable = true;
virtualHosts = {
"localhost" = {
forceSSL = false;
enableACME = false;
locations."/stash".proxyPass = "http://127.0.0.1:7777";
};
};
};
}