forked from fediversity/fediversity
Compare commits
3 commits
fb8957eb86
...
33bc802c21
| Author | SHA1 | Date | |
|---|---|---|---|
| 33bc802c21 | |||
| 1c44004cfe | |||
| ae444d5352 |
4 changed files with 19 additions and 5 deletions
|
|
@ -43,7 +43,7 @@
|
|||
];
|
||||
|
||||
imports = [
|
||||
(import "${git-hooks}/flake-module.nix")
|
||||
"${git-hooks}/flake-module.nix"
|
||||
inputs.nixops4.modules.flake.default
|
||||
|
||||
./deployment/flake-part.nix
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ in
|
|||
## should go into the `./nixos` subdirectory.
|
||||
nixos.module = {
|
||||
imports = [
|
||||
(import "${agenix}/modules/age.nix")
|
||||
(import "${disko}/module.nix")
|
||||
"${agenix}/modules/age.nix"
|
||||
"${disko}/module.nix"
|
||||
./options.nix
|
||||
./nixos
|
||||
];
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ The Fediversity Panel is a web service for managing Fediversity deployments with
|
|||
|
||||
## Development
|
||||
|
||||
- To obtain all tools related to this project, enter the development environment with `nix-shell`.
|
||||
- To obtain all tools related to this project, enter the development environment in the root directory by `nix-shell`, then similar from this directory.
|
||||
|
||||
If you want to do that automatically on entering this directory:
|
||||
If you want to do that automatically on entering a directory:
|
||||
|
||||
- [Set up `direnv`](https://github.com/nix-community/nix-direnv#installation)
|
||||
- Run `direnv allow` in the directory where repository is stored on your machine
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -147,6 +148,19 @@ in
|
|||
NixOps4 from the package's npins-based code, we will have to do with
|
||||
this workaround.
|
||||
'';
|
||||
default =
|
||||
let
|
||||
sources = import ../../npins;
|
||||
inherit (import sources.flake-inputs) import-flake load-flake;
|
||||
inherit
|
||||
(import-flake {
|
||||
src = ../../.;
|
||||
})
|
||||
inputs
|
||||
;
|
||||
inherit (inputs) nixops4;
|
||||
in
|
||||
(load-flake nixops4).packages.${pkgs.system}.default;
|
||||
};
|
||||
|
||||
deployment = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue