diff options
author | Emile <git@emile.space> | 2024-10-29 22:41:41 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2024-10-29 22:41:41 +0100 |
commit | 74273ed64153450ab8d3e54b122d784efcf85822 (patch) | |
tree | d2e8ae8791b460dfdc0c4f972b8bf164c54a77b0 /nix/hosts | |
parent | 3a0dc98686bf975ebaff445cb595fe6cc8009a8d (diff) |
remarvin init
Diffstat (limited to 'nix/hosts')
-rw-r--r-- | nix/hosts/corrino/remarvin.nix | 17 | ||||
-rw-r--r-- | nix/hosts/corrino/secrets/remarvin_accesstoken.age | 9 |
2 files changed, 26 insertions, 0 deletions
diff --git a/nix/hosts/corrino/remarvin.nix b/nix/hosts/corrino/remarvin.nix new file mode 100644 index 0000000..580cbbf --- /dev/null +++ b/nix/hosts/corrino/remarvin.nix @@ -0,0 +1,17 @@ +{ config, ... }: + +{ + # deploy: + # - push code + # - build in order to get the new hash (nix build .#remarvin) + # - update hash in the package (//nix/pkgs/remarvin/default.nix) + # - deploy + + services.emile.remarvin = { + enable = true; + + username = "marvin_test1"; + homeserver = "matrix.org"; + accesstoken = config.age.secrets.remarvin_accesstoken.path; + }; +} diff --git a/nix/hosts/corrino/secrets/remarvin_accesstoken.age b/nix/hosts/corrino/secrets/remarvin_accesstoken.age new file mode 100644 index 0000000..b842818 --- /dev/null +++ b/nix/hosts/corrino/secrets/remarvin_accesstoken.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 gvwQ2Q RznnGznMNzcDCJqkrBtyE05mP9IbZEXImcR6k5pqLxc +1BD28vqjYZsizyWYDr2C5ZE/mTuXGrJsNyALyhP0NUM +-> ssh-ed25519 m8VklA Ckn4D1R2SMGtWDRZQHfUSXFYV0KwE9LqbTRtfhbycxw +8m4HG/1HVbBRQ/Et87KUr7krzctJ7OnAbI07bvIXbm4 +--- QXOHuhdZoZfjFoD3f8eePfAmy+W/a/9vjmVwY9PHgEU +[ i^v_R$0ldeDN(\17!xS;[rfN?Om +z< ++[ \ No newline at end of file |