aboutsummaryrefslogtreecommitdiff
path: root/flakes/private/environment-dummy/flake.nix
blob: 5ebc27feee4c785a0f75e3e04d02c01c5fc0e994 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  description = ''
    A dummy flake that contains a compatible structure to the one stored at
    git+ssh://gitolite@git.immae.eu/perso/Immae/Config/Nix/Nixops/Secrets
    It is used as default value in "public" configurations
  '';
  outputs = { self }: {
    vars-file = ./vars.yml;
    ldap-conf = ./ldap.conf;
    environment-file = ./environment.nix;
    nixosModule = self.nixosModules.my-environment;
    nixosModules.my-environment = { ... }: {
      config.myEnv = import self.environment-file;
    };
    nixosModules.users-config-eldiron = { ... }: {};
  };
}