chore: update and add nix flake

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
This commit is contained in:
Chinmay D. Pai 2023-12-01 22:51:10 +05:30
parent cad1a203e5
commit ce7fb19e2e
Signed by: thunderbottom
GPG Key ID: 75507BE256F40CED
4 changed files with 99 additions and 9 deletions

View File

@ -6,9 +6,9 @@ text_justify = true
<h4 class="text-center"><i>"Technically a DevOps, practically an absurdist."</i></h4>
Hey there! I'm a systems and security enthusiast from Mumbai, India. I currently work at [Zerodha](https://zerodha.com) as a DevOps and Security Engineer, where I mainly solve problems pertaining to container orchestration, pipeline optimizations, and maintaining and enhancing the security and monitoring infrastructures.
Hey there! I'm a systems and security enthusiast living in Bangalore, India. I currently work at [Zerodha](https://zerodha.com) as a DevOps and Security Engineer, where I mainly solve problems pertaining to system orchestration, pipeline optimizations, and maintaining the security and monitoring infrastructure.
My pursuits intrinsically gravitate towards *nix, open-source, privacy, and system infrastructure. In my free time, I try to explore new tech, play video games, read, and occasionally [compose music](https://soundcloud.com/harmonicseventhnoiseprotocol). You may also see what I'm up to right [now](/now). To keep updated with my work, follow me on [GitHub](https://github.com/Thunderbottom) or subscribe to the blog through the [RSS feed](/rss.xml).
My pursuits intrinsically gravitate towards *nix, open-source, privacy, and system infrastructure. In my free time, I like to explore new tech, play video games, occasionally read, and rarely [compose music](https://soundcloud.com/harmonicseventhnoiseprotocol). You may also see what I'm up to right [now](/now). To keep updated with my work, check out my [Gitea](https://git.deku.moe) or [GitHub](https://github.com/Thunderbottom) or subscribe to the blog through the [RSS feed](/rss.xml).
_Jinsei wa daijoubudesu._
@ -18,4 +18,3 @@ _Jinsei wa daijoubudesu._
- **Social Media**: I go by the username `@Thunderbottom` on:
- [GitHub](https://github.com/Thunderbottom)
- [Lobsters](https://lobste.rs/u/Thunderbottom)
- [Telegram](https://t.me/Thunderbottom)

View File

@ -7,9 +7,9 @@ text_justify = true
### Personal
- Setting up a server infrastructure running <abbr title="Nomad, Vault, Consul, and Terraform">Hashistack</abbr>
- Building a [Pritunl](https://pritunl.com) SSH renewal client in Go
- Learning and practising [Stoicism](https://plato.stanford.edu/entries/stoicism/)
- Spending [my life](https://git.deku.moe/thunderbottom/nixos-config) on setting up <abbr title="Please kill me.">NixOS</abbr>.
- Exploring [Netbird](https://netbird.io) as a P2P VPN.
- Learning and practising [Stoicism](https://plato.stanford.edu/entries/stoicism/).
### Reading
@ -18,6 +18,4 @@ text_justify = true
### Playing
- Hollow Knight
- Kentucky Route Zero
- Stardew Valley
Nothing right now.

61
flake.lock Normal file
View File

@ -0,0 +1,61 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1701336116,
"narHash": "sha256-kEmpezCR/FpITc6yMbAh4WrOCiT2zg5pSjnKrq51h5Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f5c27c6136db4d76c30e533c20517df6864c46ee",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

32
flake.nix Normal file
View File

@ -0,0 +1,32 @@
{
description = "maych.in for Nix";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.maych-in = pkgs.stdenv.mkDerivation rec {
pname = "maych-in";
version = "2023-12-01";
src = ./.;
nativeBuildInputs = [pkgs.zola];
buildPhase = "zola build";
installPhase = "cp -r public $out";
};
defaultPackage = self.packages.${system}.maych-in;
devShell = pkgs.mkShell {
packages = with pkgs; [
zola
];
};
}
);
}