Initial commit
This commit is contained in:
commit
60c25e1ae5
|
@ -0,0 +1,33 @@
|
||||||
|
# 5D Diplomacy With Multiversal Time Travel
|
||||||
|
|
||||||
|
## So you want to conquer Europe with a declarative build system
|
||||||
|
|
||||||
|
Let's start out by initializing the project. I always hate this part of projects; it's much easier to pick up something with an established codebase and ecosystem and figure out how to modify it to be slightly different than it is to strain genius from the empty space of possibility _de novo_. The ultimate goal of this project is summoning military aid from beyond space and time, though, so we're going to have to get used to it.
|
||||||
|
|
||||||
|
A `nix flake init` gives us a fairly useless flake template:
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
description = "A very basic flake";
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs }: {
|
||||||
|
|
||||||
|
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
|
||||||
|
|
||||||
|
defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
We're going to replace every line in this file, but at least we got a start. Let's also `git init` and set that part up.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git init
|
||||||
|
$ git config --add user.name Jaculabilis
|
||||||
|
$ git config --add user.email jaculabilis@git.alogoulogoi.com
|
||||||
|
$ git add flake.nix README.md
|
||||||
|
$ git commit -m "Initial commit"
|
||||||
|
$ git remote add origin gitea@git.alogoulogoi.com:Jaculabilis/5dplomacy.git
|
||||||
|
$ git push -u origin master
|
||||||
|
```
|
Loading…
Reference in New Issue