Commit fef5325 1 parent 53b9091 commit fef5325 Copy full SHA for fef5325
File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,38 @@ Options:
71
71
72
72
Run ` cargo install --release --path . ` to compile and install Norgolith in your ` ~/.cargo/bin ` directory.
73
73
74
+ ### 📦 Nix Package
75
+
76
+ You can add norgolith to your NixOS configuration with flakes
77
+
78
+ <details >
79
+ <summary >Minimal flake.nix for a NixOS configuration:</summary >
80
+
81
+ ``` nix
82
+ {
83
+ inputs = {
84
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
85
+
86
+ norgolith.url = "github:NTBBloodbath/norgolith";
87
+ };
88
+ outputs =
89
+ { nixpkgs, norgolith, ... }:
90
+ {
91
+ nixosConfigurations.mysystem = nixpkgs.lib.nixosSystem {
92
+ modules = [
93
+ {
94
+ # add norgolith as a package
95
+ environment.systemPackages = [
96
+ norgolith.packages.x86_64-linux.default
97
+ ];
98
+ }
99
+ ];
100
+ };
101
+ };
102
+ }
103
+ ```
104
+ </details >
105
+
74
106
## ❄️ Developing and testing with Nix
75
107
76
108
The Norgolith repository includes a Nix flake for development and testing purposes in the root directory. This section outlines how to
You can’t perform that action at this time.
0 commit comments