-
Notifications
You must be signed in to change notification settings - Fork 58
Rosenpass: projects-old -> projects #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
eaccc29
rosenpass migration initial commit
khabdrick b7863d1
removed old rosenpass project directory
khabdrick 2030bde
Update projects/Rosenpass/default.nix
khabdrick f03af77
added tests
khabdrick e2bd349
Merge remote-tracking branch 'refs/remotes/origin/migrate-rosenpass' …
khabdrick 0750e24
Update projects/Rosenpass/default.nix
khabdrick b7f0e40
Update projects/Rosenpass/default.nix
khabdrick 6075dde
moved test folder
khabdrick 14a1a66
removed unwanted files
khabdrick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| { | ||
| lib, | ||
| pkgs, | ||
| sources, | ||
| }@args: | ||
|
|
||
| { | ||
| metadata = { | ||
| summary = "Rosenpass is a formally verified, post-quantum secure VPN that uses WireGuard to transport the actual data."; | ||
| subgrants = [ | ||
| "Rosenpass" | ||
| "Rosenpass-API" | ||
| "Rosenpass-integration" | ||
| ]; | ||
| links = { | ||
| docs = { | ||
| text = "Rosenpass documentation"; | ||
| url = "https://rosenpass.eu/docs/"; | ||
| }; | ||
| docker = { | ||
| text = "Rosenpass in Docker"; | ||
| url = "https://github.com/rosenpass/rosenpass/blob/main/docker/USAGE.md"; | ||
| }; | ||
| build = { | ||
| text = "Build from source"; | ||
| url = "http://rosenpass.eu/docs/rosenpass-tool/compilation/#installation-via-binary-files"; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| nixos.modules.programs = { | ||
| rosenpass = { | ||
| name = "rosenpass"; | ||
| module = ./programs/basic/module.nix; | ||
| examples.basic = { | ||
| module = ./programs/basic/examples/basic.nix; | ||
| description = ""; | ||
| tests.basic = null; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| nixos.modules.services = { | ||
| rosenpass = { | ||
| name = "rosenpass"; | ||
| module = "${sources.inputs.nixpkgs}/nixos/modules/services/networking/rosenpass.nix"; | ||
| examples.basic = { | ||
| module = ./services/basic/examples/basic.nix; | ||
| description = ""; | ||
| tests.with-sops = import ./tests args; | ||
| tests.without-sops = "${sources.inputs.nixpkgs}/nixos/tests/rosenpass.nix"; | ||
| }; | ||
| }; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { ... }: | ||
|
|
||
| { | ||
| programs.rosenpass.enable = true; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| config, | ||
| lib, | ||
| pkgs, | ||
| ... | ||
| }: | ||
| let | ||
| cfg = config.programs.rosenpass; | ||
| in | ||
| { | ||
| options.programs.rosenpass = { | ||
| enable = lib.mkEnableOption "rosenpass"; | ||
| }; | ||
|
|
||
| config = lib.mkIf cfg.enable { | ||
| environment.systemPackages = with pkgs; [ | ||
| rosenpass | ||
| rosenpass-tools | ||
| ]; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { ... }: | ||
|
|
||
| { | ||
| services.rosenpass.enable = true; | ||
| } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to delete
projects-old/Rosenpassas wellThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just wanted to be sure I got all the data out of there correctly first.
I will delete the directory now.