File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,9 @@ with Nix(OS).
39
39
to create a Nix package that is exposed as a modular [ Nix flake] ( https://nixos.wiki/wiki/Flakes )
40
40
so that servers can download and run this app wherever.
41
41
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
+ ```
Original file line number Diff line number Diff line change 44
44
inherit system ;
45
45
specialArgs = attrs // { inherit ( self . packages . ${ system } ) migration-data ; inherit system ; } ;
46
46
modules = [
47
- self . nixosModules . default
47
+ self . nixosModules . rustnixos
48
48
self . nixosModules . caddy
49
49
( { pkgs , config , ... } : {
50
50
# Only allow this to boot as a container
84
84
( modulesPath + "/profiles/qemu-guest.nix" )
85
85
disko . nixosModules . disko
86
86
agenix . nixosModules . default
87
- self . nixosModules . default
87
+ self . nixosModules . rustnixos
88
88
self . nixosModules . caddy
89
89
] ;
90
90
disko . devices = import ./nix/disk-config.disko.nix {
Original file line number Diff line number Diff line change 3
3
with lib ;
4
4
5
5
let
6
- webapp = self . packages . ${ system } . default ;
6
+ webapp = self . packages . ${ system } . rustnixos ;
7
7
cfg = config . services . rustnixos ;
8
8
pkgs = nixpkgs . legacyPackages . ${ system } ;
9
9
in {
You can’t perform that action at this time.
0 commit comments