mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
radicle: init (#5409)
Co-authored-by: Matthias Beyer <mail@beyermatthias.de> Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
1830716059
commit
2aaf924e82
6 changed files with 547 additions and 0 deletions
7
tests/modules/programs/radicle/basic-configuration.json
Normal file
7
tests/modules/programs/radicle/basic-configuration.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"node": {
|
||||
"alias": "hm-user",
|
||||
"listen": []
|
||||
},
|
||||
"publicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path"
|
||||
}
|
||||
13
tests/modules/programs/radicle/basic-configuration.nix
Normal file
13
tests/modules/programs/radicle/basic-configuration.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.radicle.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/.radicle/config.json \
|
||||
${./basic-configuration.json}
|
||||
'';
|
||||
};
|
||||
}
|
||||
1
tests/modules/programs/radicle/default.nix
Normal file
1
tests/modules/programs/radicle/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ radicle-basic-configuration = ./basic-configuration.nix; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue