Skip to content

Commit

Permalink
Revert "Simple proof of concept for how to do other types of services"
Browse files Browse the repository at this point in the history
This reverts commit 7c3253e.

I included this in another push by accident and never intended for it to
be in mainline. See #26075 if you
want more.
  • Loading branch information
copumpkin committed Oct 13, 2017
1 parent ea1a925 commit 56e18c5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 77 deletions.
2 changes: 0 additions & 2 deletions nixos/modules/module-list.nix
Expand Up @@ -131,8 +131,6 @@
./security/rtkit.nix
./security/wrappers/default.nix
./security/sudo.nix
./service-managers/docker.nix
./service-managers/trivial.nix
./services/admin/salt/master.nix
./services/admin/salt/minion.nix
./services/amqp/activemq/default.nix
Expand Down
29 changes: 0 additions & 29 deletions nixos/modules/service-managers/docker.nix

This file was deleted.

35 changes: 0 additions & 35 deletions nixos/modules/service-managers/trivial.nix

This file was deleted.

14 changes: 3 additions & 11 deletions nixos/modules/services/security/hologram-server.nix
Expand Up @@ -23,8 +23,6 @@ let
stats = cfg.statsAddress;
listen = cfg.listenAddress;
});

script = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
in {
options = {
services.hologram-server = {
Expand Down Expand Up @@ -96,15 +94,9 @@ in {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];

inherit script;
};

docker-containers.hologram-server = {
inherit script;
};

trivial-services.hologram-server = {
inherit script;
serviceConfig = {
ExecStart = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
};
};
};
}

0 comments on commit 56e18c5

Please sign in to comment.