aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-06-25 03:59:52 +0900
committerOphestra <cat@gensokyo.uk>2025-06-25 04:57:41 +0900
commit87e008d56de974947ebb99c2cc40b25d3c2cf43e (patch)
tree31791911e5226d6ec04e3fac7d91b0bf53e63aa5 /README.md
parent399207321265307bb15f37d867f9370cd51c82a8 (diff)
treewide: rename to hakurei
Fortify makes little sense for a container tool. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index 9f16102b..4a932bcf 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-Fortify
+Hakurei
=======
-[![Go Reference](https://pkg.go.dev/badge/git.gensokyo.uk/security/fortify.svg)](https://pkg.go.dev/git.gensokyo.uk/security/fortify)
-[![Go Report Card](https://goreportcard.com/badge/git.gensokyo.uk/security/fortify)](https://goreportcard.com/report/git.gensokyo.uk/security/fortify)
+[![Go Reference](https://pkg.go.dev/badge/git.gensokyo.uk/security/hakurei.svg)](https://pkg.go.dev/git.gensokyo.uk/security/hakurei)
+[![Go Report Card](https://goreportcard.com/badge/git.gensokyo.uk/security/hakurei)](https://goreportcard.com/report/git.gensokyo.uk/security/hakurei)
Lets you run graphical applications as another user in a confined environment with a nice NixOS
module to configure target users and provide launchers and desktop files for your privileged user.
@@ -18,7 +18,7 @@ Why would you want this?
If you have a flakes-enabled nix environment, you can try out the tool by running:
```shell
-nix run git+https://git.gensokyo.uk/security/fortify -- help
+nix run git+https://git.gensokyo.uk/security/hakurei -- help
```
## Module usage
@@ -34,35 +34,35 @@ To use the module, import it into your configuration with
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
- fortify = {
- url = "git+https://git.gensokyo.uk/security/fortify";
+ hakurei = {
+ url = "git+https://git.gensokyo.uk/security/hakurei";
# Optional but recommended to limit the size of your system closure.
inputs.nixpkgs.follows = "nixpkgs";
};
};
- outputs = { self, nixpkgs, fortify, ... }:
+ outputs = { self, nixpkgs, hakurei, ... }:
{
- nixosConfigurations.fortify = nixpkgs.lib.nixosSystem {
+ nixosConfigurations.hakurei = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
- fortify.nixosModules.fortify
+ hakurei.nixosModules.hakurei
];
};
};
}
```
-This adds the `environment.fortify` option:
+This adds the `environment.hakurei` option:
```nix
{ pkgs, ... }:
{
- environment.fortify = {
+ environment.hakurei = {
enable = true;
- stateDir = "/var/lib/fortify";
+ stateDir = "/var/lib/hakurei";
users = {
alice = 0;
nixos = 10;