Skip to content

Commit 8bd2b07

Browse files
committed
Get it work again
1 parent bfbfd98 commit 8bd2b07

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ with Nix(OS).
3939
to create a Nix package that is exposed as a modular [Nix flake](https://nixos.wiki/wiki/Flakes)
4040
so that servers can download and run this app wherever.
4141

42+
43+
# Test
44+
45+
```bash
46+
curl --connect-to localhost:80:mycontainer:80 --connect-to localhost:443:mycontainer:443 http://localhost -k -L
47+
```

flake.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
inherit system;
4545
specialArgs = attrs // { inherit (self.packages.${system}) migration-data; inherit system;};
4646
modules = [
47-
self.nixosModules.default
47+
self.nixosModules.rustnixos
4848
self.nixosModules.caddy
4949
({ pkgs, config, ... }: {
5050
# Only allow this to boot as a container
@@ -84,7 +84,7 @@
8484
(modulesPath + "/profiles/qemu-guest.nix")
8585
disko.nixosModules.disko
8686
agenix.nixosModules.default
87-
self.nixosModules.default
87+
self.nixosModules.rustnixos
8888
self.nixosModules.caddy
8989
];
9090
disko.devices = import ./nix/disk-config.disko.nix {

module.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
with lib;
44

55
let
6-
webapp = self.packages.${system}.default;
6+
webapp = self.packages.${system}.rustnixos;
77
cfg = config.services.rustnixos;
88
pkgs = nixpkgs.legacyPackages.${system};
99
in {

0 commit comments

Comments
 (0)