update flake input to point to github
This commit is contained in:
parent
047b320b63
commit
9aab9e6b5f
2 changed files with 44 additions and 11 deletions
|
@ -81,6 +81,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nmdsrc": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1701431551,
|
||||||
|
"narHash": "sha256-5HPHG1u3koaWHG/TXHl5/YxYPYOuKc58104btrD8ypE=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "f18defadcc25e69e95b04493ee02682005472255",
|
||||||
|
"revCount": 65,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.sr.ht/~rycee/nmd"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.sr.ht/~rycee/nmd"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
@ -95,21 +111,23 @@
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
|
"nmdsrc": "nmdsrc",
|
||||||
"sops-nix": [
|
"sops-nix": [
|
||||||
"sops-nix"
|
"sops-nix"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dirtyRev": "052a80567948d3dad69d016bfd0a139b0f75fbd9-dirty",
|
"lastModified": 1702104486,
|
||||||
"dirtyShortRev": "052a805-dirty",
|
"narHash": "sha256-xFNqHDyMfrhrzy6X6WfwsdIhRk/y/QtqfDNba4+En30=",
|
||||||
"lastModified": 1700293838,
|
"owner": "ibizaman",
|
||||||
"narHash": "sha256-iHQPbRA47mA1yGgCIrb4S9AuDC+RfvtvqOqOr+asBe0=",
|
"repo": "selfhostblocks",
|
||||||
"type": "git",
|
"rev": "ca2f7039cc22afcf5a62f09bd0f1ef3132c518c6",
|
||||||
"url": "file:///home/timi/Projects/selfhostblocks"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"owner": "ibizaman",
|
||||||
"url": "file:///home/timi/Projects/selfhostblocks"
|
"repo": "selfhostblocks",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sops-nix": {
|
"sops-nix": {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
|
|
||||||
selfhostblocks.url = "/home/timi/Projects/selfhostblocks";
|
selfhostblocks.url = "github:ibizaman/selfhostblocks";
|
||||||
selfhostblocks.inputs.nixpkgs.follows = "nixpkgs";
|
selfhostblocks.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
selfhostblocks.inputs.sops-nix.follows = "sops-nix";
|
selfhostblocks.inputs.sops-nix.follows = "sops-nix";
|
||||||
};
|
};
|
||||||
|
@ -38,15 +38,30 @@
|
||||||
domain = "example.com";
|
domain = "example.com";
|
||||||
subdomain = "ldap";
|
subdomain = "ldap";
|
||||||
ldapPort = 3890;
|
ldapPort = 3890;
|
||||||
httpPort = 17170;
|
webUIListenPort = 17170;
|
||||||
dcdomain = "dc=example,dc=com";
|
dcdomain = "dc=example,dc=com";
|
||||||
|
ldapUserPasswordFile = config.sops.secrets."lldap/user_password".path;
|
||||||
|
jwtSecretFile = config.sops.secrets."lldap/jwt_secret".path;
|
||||||
|
};
|
||||||
|
sops.secrets."lldap/user_password" = {
|
||||||
sopsFile = ./secrets.yaml;
|
sopsFile = ./secrets.yaml;
|
||||||
|
mode = "0440";
|
||||||
|
owner = "lldap";
|
||||||
|
group = "lldap";
|
||||||
|
restartUnits = [ "lldap.service" ];
|
||||||
|
};
|
||||||
|
sops.secrets."lldap/jwt_secret" = {
|
||||||
|
sopsFile = ./secrets.yaml;
|
||||||
|
mode = "0440";
|
||||||
|
owner = "lldap";
|
||||||
|
group = "lldap";
|
||||||
|
restartUnits = [ "lldap.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
shb.home-assistant = {
|
shb.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "example.com";
|
domain = "example.com";
|
||||||
ldapEndpoint = "http://127.0.0.1:${builtins.toString config.shb.ldap.httpPort}";
|
ldapEndpoint = "http://127.0.0.1:${builtins.toString config.shb.ldap.webUIListenPort}";
|
||||||
subdomain = "ha";
|
subdomain = "ha";
|
||||||
sopsFile = ./secrets.yaml;
|
sopsFile = ./secrets.yaml;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue