small changes (too lazy)

This commit is contained in:
jacekpoz 2023-08-02 15:54:19 +02:00
parent 04cabc16f7
commit 3e79c35064
3 changed files with 25 additions and 7 deletions

View file

@ -26,9 +26,14 @@
programs.zsh.enable = true;
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
users.users.chmura = {
isNormalUser = true;
extraGroups = ["wheel"];
extraGroups = [ "wheel" "docker" ];
shell = pkgs.zsh;
packages = with pkgs; [
curl
@ -39,7 +44,8 @@
ntfy
btop
podman-compose
docker
docker-compose
nodePackages_latest.pnpm
nodePackages_latest.prisma
prisma-engines
@ -47,6 +53,8 @@
pkg-config
direnv
nix-direnv
git-annex
];
};
@ -79,14 +87,18 @@
root * ${./trollface.pl}
file_server
'';
virtualHosts."test.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:3001
'';
};
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
oci-containers.backend = "podman";
#podman = {
# enable = true;
# dockerCompat = true;
#};
#oci-containers.backend = "podman";
docker.enable = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 22 ];

View file

@ -2,10 +2,12 @@ _: {
imports = [
./conduit.nix
./configuration.nix
#./freshrss.nix
./grafana.nix
./hardware-configuration.nix
./i2pd.nix
#./minecraft
#./qbittorrent.nix
#./wireguard.nix
];
}

View file

@ -26,6 +26,10 @@ in {
modules = [
{networking.hostName = "chmura";}
./chmura
#]
#++ [
# home-manager
# home-configs
];
};
}