aboutsummaryrefslogtreecommitdiff
path: root/flakes
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-12-29 23:31:26 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-12-29 23:45:59 +0100
commit1be9e64bb4556676f65e6e5044e04426848849c0 (patch)
treeb8f325b66656ed69069a255894d60738af1eaaed /flakes
parent2edbb2d889bd9d1787bc1745a75c1b6969d148ab (diff)
downloadNix-1be9e64bb4556676f65e6e5044e04426848849c0.tar.gz
Nix-1be9e64bb4556676f65e6e5044e04426848849c0.tar.zst
Nix-1be9e64bb4556676f65e6e5044e04426848849c0.zip
Add myuids flake
Diffstat (limited to 'flakes')
-rw-r--r--flakes/myuids/flake.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/flakes/myuids/flake.nix b/flakes/myuids/flake.nix
new file mode 100644
index 0000000..1a3a9b4
--- /dev/null
+++ b/flakes/myuids/flake.nix
@@ -0,0 +1,42 @@
1{
2 description = "Immae Specific uids";
3
4 outputs = { self }: {
5 lib = {
6 # Check that there is no clash with nixos/modules/misc/ids.nix
7 uids = {
8 acme = 388;
9 backup = 389;
10 vhost = 390;
11 openarc = 391;
12 opendmarc = 392;
13 peertube = 394;
14 redis = 395;
15 nullmailer = 396;
16 mediagoblin = 397;
17 diaspora = 398;
18 mastodon = 399;
19 };
20 gids = {
21 nagios = 11; # commented in the ids file
22 acme = 388;
23 backup = 389;
24 vhost = 390;
25 openarc = 391;
26 opendmarc = 392;
27 peertube = 394;
28 redis = 395;
29 nullmailer = 396;
30 mediagoblin = 397;
31 diaspora = 398;
32 mastodon = 399;
33 };
34 };
35 nixosModule = { ... }: {
36 config = {
37 ids.uids = self.lib.uids;
38 ids.gids = self.lib.gids;
39 };
40 };
41 };
42}