More Nix commentary and gruvbox colorscheme
This commit is contained in:
parent
54eb0dc42b
commit
5457f0d980
|
@ -11,7 +11,8 @@ description: "The obligatory about page"
|
||||||
# The site itself
|
# The site itself
|
||||||
|
|
||||||
|
|
||||||
- Colorscheme: [Tomorrow Night](https://github.com/chriskempson/tomorrow-theme) In theory I would have a properly defined colorscheme. In practice, I have just been hacking things together in a way that looks nice.
|
- Colorscheme: [Gruvbox](https://github.com/morhetz/gruvbox)
|
||||||
|
Depending on `prefers-color-scheme:` in your browser settings being `light` or not, you get to see the light variant or not.
|
||||||
- This site is viewable and usable on every browser I've thrown at it so far.\
|
- This site is viewable and usable on every browser I've thrown at it so far.\
|
||||||
I even spent a 10 minutes making this site look reasonable on mobile devices.\
|
I even spent a 10 minutes making this site look reasonable on mobile devices.\
|
||||||
Here's the browser list:
|
Here's the browser list:
|
||||||
|
|
|
@ -34,16 +34,16 @@ And two, not-insignificant portions of the internet _already are_ subscription b
|
||||||
Sometimes you will even come across people who go as far to genuinely proclaim the preceding.
|
Sometimes you will even come across people who go as far to genuinely proclaim the preceding.
|
||||||
To those people, the only thing I can do is quote the classic "You wouldn't download a car, would you?"
|
To those people, the only thing I can do is quote the classic "You wouldn't download a car, would you?"
|
||||||
Shortly followed by saying "Yes I fucking would, given the opportunity"
|
Shortly followed by saying "Yes I fucking would, given the opportunity"
|
||||||
No one owes you shit based on the amount of people have ignore the ads on your website.
|
No one owes you shit based on the amount of people have ignored the ads on your website.
|
||||||
|
|
||||||
Then there is also the argument to be made that ads steal one's attention.
|
Then there is also the argument to be made that ads steal one's attention.
|
||||||
The goal here being to manipulate you into buying their product.
|
The goal here being to manipulate you into buying a product.
|
||||||
|
|
||||||
Much like with piracy, the you're not missing out on anything.
|
Much like with piracy, the you're not missing out on anything.
|
||||||
The only way you would've seen any money from it, would be when you're audience directly sees your content and happens to get an ad shoved in their face.
|
The only way you would've seen any money from it, would be when you're audience directly sees your content and happens to get an ad shoved in their face.
|
||||||
Though I suppose in the case of ads, your audience has no choice but to support you when they don't use an adblocker.
|
Though I suppose in the case of ads, your audience has no choice but to support you when they don't use an adblocker.
|
||||||
In other words, you are forcing your audience to sacrifice their a part attention to support you, whether they want to or not.
|
In other words, you are forcing your audience to sacrifice their a part attention to support you, whether they want to or not.
|
||||||
In my opinion, this makes it morally wrong to make monkey off of ads.
|
In my opinion, this makes it morally wrong to make money off of ads.
|
||||||
|
|
||||||
I'd argue it is a moral imperative to use an adblocker.
|
I'd argue it is a moral imperative to use an adblocker.
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ This is purely a guide to installing it in Alpine and Debian Linux.
|
||||||
|
|
||||||
**"Why not use the official instructions?"**
|
**"Why not use the official instructions?"**
|
||||||
|
|
||||||
The official instructions require me to `curl` a script directly into `sh`.
|
The official instructions require you to `curl` a script directly into `sh`.
|
||||||
From there it requires sudo privileges to install the package manager itself.
|
From there it requires sudo privileges to install the package manager itself.
|
||||||
This sets of a load of alarm bells in terms of security and what it's going to do from there.
|
This sets of a load of alarm bells in terms of security and what it's going to do from there.
|
||||||
As the Nix package manager is packaged for both Debian and Alpine, my two favourite distros next to NixOS, there is no real reason _not_ to use their respective package managers.
|
As the Nix package manager is packaged for both Debian and Alpine, my two favourite distros next to NixOS, there is no real reason _not_ to use their respective package managers.
|
||||||
|
@ -97,13 +97,11 @@ doas addgroup $USER nix
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
The last step is to set a few environment variables.
|
The next step is to set add the Nix binary dir to your `PATH`.
|
||||||
I have the following in my `.profile`
|
To that end, I have the following in my `.profile`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# nix
|
# nix
|
||||||
export PATH=$PATH:$HOME/.nix-profile/bin
|
export PATH=$PATH:$HOME/.nix-profile/bin
|
||||||
export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now source your `.profile` again, either using...
|
Now source your `.profile` again, either using...
|
||||||
|
@ -137,3 +135,17 @@ To sync your (just added) channel(s), run:
|
||||||
```sh
|
```sh
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
```
|
```
|
||||||
|
From this point on you can query your channel(s) using either [the website](https://search.nixos.org/packages) (which is a lot quicker) or:
|
||||||
|
```sh
|
||||||
|
nix-env -qa <query>
|
||||||
|
```
|
||||||
|
Packages can be imperatively installed using...
|
||||||
|
```sh
|
||||||
|
nix-env -iA nixpkgs.<package-name>
|
||||||
|
```
|
||||||
|
...and removed using...
|
||||||
|
```sh
|
||||||
|
nix-env --uninstall <package-name>
|
||||||
|
```
|
||||||
|
|
||||||
|
Consult [the manual](https://nixos.org/manual/nix/stable/) for further usage.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3e3d1a397bb23f881920d3cb9cf6f784cc750831
|
Subproject commit 84d88dbefee14a184d1a8c7feaba1068c96d293a
|
Loading…
Reference in a new issue