Skip to content

Commit c14f15b

Browse files
Updated repo with latest template
1 parent f0a6bc1 commit c14f15b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
name = "tempbot"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "MIT OR Apache-2.0"
56
homepage = "https://github.com/xinux-org/templates"
67
repository = "https://github.com/xinux-org/templates"
78
description = "Just a Rust Telegram bot template via nix flakes"
9+
authors = ["Sokhibjon Orzikulov <[email protected]>"]
810

911
# Dependencies that will included with final binary
1012
[dependencies]

default.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ in
8484

8585
maintainers = [
8686
{
87-
name = "Example";
88-
email = "example@xinux.uz";
89-
handle = "example";
90-
github = "example";
91-
githubId = 00000000;
87+
name = "Sokhibjon Orzikulov";
88+
email = "sakhib@orzklv.uz";
89+
handle = "orzklv";
90+
github = "orzklv";
91+
githubId = 54666588;
9292
keys = [
9393
{
94-
fingerprint = "0000 0000 0000 0000 0000 0000 0000 0000 0000 0000";
94+
fingerprint = "00D2 7BC6 8707 0683 FBB9 137C 3C35 D3AF 0DA1 D6A8";
9595
}
9696
];
9797
}

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
})
4141
// {
4242
# Overlay module
43-
nixosModules.temp-bot = import ./module.nix self;
43+
nixosModules.bot = import ./module.nix self;
4444
};
4545
}

readme.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ Ok, now we have your project in repository list and now, we need to make use of
103103
# Imagine here your existing imports
104104
105105
# Now import your project module like this
106-
inputs.tempbot.nixosModules.tempbot-bot
107-
# Change or get name of your module from flake.nix
108-
# at nixosModules.
106+
inputs.tempbot.nixosModules.bot
109107
];
110108
};
111109
```

0 commit comments

Comments
 (0)