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 = [
|
imports = [
|
||||||
(import "${git-hooks}/flake-module.nix")
|
"${git-hooks}/flake-module.nix"
|
||||||
inputs.nixops4.modules.flake.default
|
inputs.nixops4.modules.flake.default
|
||||||
|
|
||||||
./deployment/flake-part.nix
|
./deployment/flake-part.nix
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ in
|
||||||
## should go into the `./nixos` subdirectory.
|
## should go into the `./nixos` subdirectory.
|
||||||
nixos.module = {
|
nixos.module = {
|
||||||
imports = [
|
imports = [
|
||||||
(import "${agenix}/modules/age.nix")
|
"${agenix}/modules/age.nix"
|
||||||
(import "${disko}/module.nix")
|
"${disko}/module.nix"
|
||||||
./options.nix
|
./options.nix
|
||||||
./nixos
|
./nixos
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ The Fediversity Panel is a web service for managing Fediversity deployments with
|
||||||
|
|
||||||
## Development
|
## 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)
|
- [Set up `direnv`](https://github.com/nix-community/nix-direnv#installation)
|
||||||
- Run `direnv allow` in the directory where repository is stored on your machine
|
- Run `direnv allow` in the directory where repository is stored on your machine
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -147,6 +148,19 @@ in
|
||||||
NixOps4 from the package's npins-based code, we will have to do with
|
NixOps4 from the package's npins-based code, we will have to do with
|
||||||
this workaround.
|
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 = {
|
deployment = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue