Commit Graph

1241 Commits

Author SHA1 Message Date
6a5489131a
users/foo-dogsquared: update personal email config 2023-07-13 18:40:24 +08:00
7966b6fc71
ci: update push path for building site 2023-07-12 17:28:03 +08:00
ae14d0c9c6
ci: add automation for updating Firefox addons 2023-07-12 17:26:46 +08:00
56e656aae3
libcs50: remove package
Also available in nixpkgs.
2023-07-12 15:17:57 +08:00
a0e92ec137
wayback: remove package
Also available on nixpkgs.
2023-07-12 15:14:05 +08:00
73675e518a
segno: remove package
It is also available on nixpkgs now.
2023-07-12 15:13:54 +08:00
cdc17c28ee
thokr: remove package
It is available on nixpkgs now.
2023-07-12 15:12:13 +08:00
c6129ea634
Makefile: add docs-serve and docs-build step 2023-07-11 13:20:54 +08:00
9a2372c6af
docs/site: reorganize folder structure 2023-07-11 13:20:28 +08:00
9a519d38f7
flake.lock: update inputs
Flake lock file updates:

• Updated input 'devshell':
    'github:numtide/devshell/3864857b2754ab0e16c7c7c626f0e5a1d4e42f38' (2023-06-28)
  → 'github:numtide/devshell/f9238ec3d75cefbb2b42a44948c4e8fb1ae9a205' (2023-07-03)
• Updated input 'disko':
    'github:nix-community/disko/8002e7cb899bc2a02a2ebfb7f999fcd7c18b92a1' (2023-06-28)
  → 'github:nix-community/disko/fc3c3817c9f1fcd405463c6a7f0f98baab97c692' (2023-07-05)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/2c48f3c8cc381ce8ec207b3ee2c435a8aa594a65' (2023-06-28)
  → 'github:nix-community/emacs-overlay/2074e430f834ad2e20ce5ee2ee2897586bad0d60' (2023-07-10)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/9790f3242da2152d5aa1976e3e4b8b414f4dd206' (2023-06-27)
  → 'github:NixOS/nixpkgs/8df7a67abaf8aefc8a2839e0b48f92fdcf69a38b' (2023-07-09)
• Updated input 'firefox-addons':
    'gitlab:rycee/nur-expressions/385ae07d9d05666a06da7d19dcf11f14bc772a47?dir=pkgs/firefox-addons' (2023-07-05)
  → 'gitlab:rycee/nur-expressions/a5853379eb3696bfc52916c48ed1e2e08c977829?dir=pkgs/firefox-addons' (2023-07-10)
• Updated input 'helix-editor':
    'github:helix-editor/helix/d3f8e0592bd577489369e5bd00cddf159f107a24' (2023-06-28)
  → 'github:helix-editor/helix/f68956a3069a09057415e984b070caab137e9317' (2023-07-10)
• Updated input 'home-manager':
    'github:nix-community/home-manager/a7002d6bfca54742d5fc9b485a1879953b4585b9' (2023-06-28)
  → 'github:nix-community/home-manager/a6d1d954b81caf4c9291b8ac35452fef842f289b' (2023-07-10)
• Updated input 'home-manager/nixpkgs':
    'github:nixos/nixpkgs/04af42f3b31dba0ef742d254456dc4c14eedac86' (2023-06-17)
  → 'github:nixos/nixpkgs/3c7487575d9445185249a159046cc02ff364bff8' (2023-07-06)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/2c8b7cf4693e9a8a94c213f2bdf5be8d6c36900b' (2023-06-29)
  → 'github:nix-community/neovim-nightly-overlay/2d2e5ca9ac4c83114b8c6f741afb8451f5271be4' (2023-07-11)
• Updated input 'neovim-nightly-overlay/flake-parts':
    'github:hercules-ci/flake-parts/37dd7bb15791c86d55c5121740a1887ab55ee836' (2023-06-26)
  → 'github:hercules-ci/flake-parts/8e8d955c22df93dbe24f19ea04f47a74adbdc5ec' (2023-07-04)
• Updated input 'neovim-nightly-overlay/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/04e4ab63b9eed2452edee1bb698827e1cb8265c6' (2023-06-15)
  → 'github:hercules-ci/hercules-ci-effects/c6191e59824febda94b431146bf65628fc534e3b' (2023-07-05)
• Updated input 'neovim-nightly-overlay/neovim-flake':
    'github:neovim/neovim/421c66f741bf4ed4de6bf15df19160df0f90db4b?dir=contrib' (2023-06-28)
  → 'github:neovim/neovim/db8fe63a9398efd57c3ff28aa3d93e45fb70ee1a?dir=contrib' (2023-07-10)
• Updated input 'nixos-generators':
    'github:nix-community/nixos-generators/bde0bc291c95b710dd63d5e5c422e47f760a1406' (2023-06-29)
  → 'github:nix-community/nixos-generators/9191c85aab6b1a7ad395c13d340f2aa0e3ddf552' (2023-07-07)
• Updated input 'nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/b3ec8fb525fc0c8f08eff5ef93c684b4c6d0e777' (2023-06-25)
  → 'github:nix-community/nixpkgs.lib/a92befce80a487380ea5e92ae515fe33cebd3ac6' (2023-07-02)
• Updated input 'nixos-stable':
    'github:NixOS/nixpkgs/9790f3242da2152d5aa1976e3e4b8b414f4dd206' (2023-06-27)
  → 'github:NixOS/nixpkgs/8df7a67abaf8aefc8a2839e0b48f92fdcf69a38b' (2023-07-09)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/e18dc963075ed115afb3e312b64643bf8fd4b474' (2023-06-27)
  → 'github:NixOS/nixpkgs/408c0e8c15a1c9cf5c3226931b6f283c9867c484' (2023-07-09)
• Updated input 'nixos-unstable-small':
    'github:NixOS/nixpkgs/4b14ab2a916508442e685089672681dff46805be' (2023-06-27)
  → 'github:NixOS/nixpkgs/c96b386640b0c11bbb6d878d86ec39629ab92997' (2023-07-10)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e18dc963075ed115afb3e312b64643bf8fd4b474' (2023-06-27)
  → 'github:NixOS/nixpkgs/408c0e8c15a1c9cf5c3226931b6f283c9867c484' (2023-07-09)
• Updated input 'nur':
    'github:nix-community/NUR/c674da8b2a994d7d9f366e71a4790de4c0caf2ac' (2023-06-29)
  → 'github:nix-community/NUR/6382fca86469079729e19c38375899bfd95f0edc' (2023-07-10)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/fc57a011f1c20d2b24f75a79ab669430a221b220' (2023-06-28)
  → 'github:oxalica/rust-overlay/4acc04c26df84e0a718c3efe4e13021222d23b28' (2023-07-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2ff6973350682f8d16371f8c071a304b8067f192' (2023-06-22)
  → 'github:Mic92/sops-nix/b2047c8fc963407916ad3834165309007dc5a1f7' (2023-07-09)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/e2e2059d19668dab1744301b8b0e821e3aae9c99' (2023-06-17)
  → 'github:NixOS/nixpkgs/510d721ce097150ae3b80f84b04b13b039186571' (2023-07-09)
2023-07-11 08:11:12 +08:00
af1693c178
ci: add site build workflow 2023-07-10 15:35:49 +08:00
b820b5e752
docs/site: export avatar icons
It's a temporary workaround for now. I still haven't figured why the
chat block extension doesn't accept a certain attribute though? WTF!?!
2023-07-09 23:14:52 +08:00
bb0bf1a2b2
docs/site: improve site and book introduction 2023-07-09 18:28:16 +08:00
10a047358e
docs/site: add "disko" to "Project-specific setup" 2023-07-09 18:27:39 +08:00
df26062cd1
docs/site: add precontent from blog site 2023-07-09 14:28:42 +08:00
8c0baf9cdb
docs/site: update Gem environment 2023-07-09 14:08:26 +08:00
ccaec93a00
docs/site: revise content 2023-07-09 14:07:59 +08:00
3f2638be14
docs/site: update site layout 2023-07-09 14:07:21 +08:00
acf26b814c
docs/site: add images 2023-07-09 14:06:54 +08:00
fc9b172c7d
docs/site: add Asciidoctor templates for custom wrapper 2023-07-09 13:18:13 +08:00
8f3709b335
docs/site: import Asciidoctor styles from blog site 2023-07-09 14:10:15 +08:00
6a01d3b854
docs/site: add homepage content 2023-07-09 12:18:09 +08:00
bd0f0a7baf
docs/site: add "Project structure" to "The lay of the land" chapter 2023-07-09 12:15:32 +08:00
4e72a3fe25
docs/site: add Rouge syntax highlighting styles 2023-07-09 12:14:29 +08:00
1975ee0554
lib/private: add isInternal 2023-07-09 12:02:03 +08:00
a23f99f5ae
docs/site: update Hugo configuration 2023-07-09 11:58:22 +08:00
70cee0c7f3
docs/site: convert CSS grid to "simpler" solution
It's "simpler" because it doesn't use CSS grid but I think CSS grid is
simpler though.
2023-07-09 11:55:57 +08:00
c62cb37426
docs/site: write "Acknowledgements" chapter 2023-07-09 11:08:42 +08:00
cd4bc63cb7
docs/site: write "NixOS modules" chapter 2023-07-09 10:49:55 +08:00
75218992de
docs/site: write "Project-specific setup" chapter 2023-07-08 22:27:43 +08:00
3a00738bf7
docs/site: write "The lay of the land" chapter 2023-07-08 20:55:04 +08:00
ff8451f0b2
docs/site: write "Using parts of my configuration" chapter 2023-07-08 20:38:42 +08:00
63ebbcb590
docs/site: write "FAQ" chapter 2023-07-08 20:31:04 +08:00
471202f73f
docs/site: write "Introduction" chapter 2023-07-08 20:24:05 +08:00
4d24fa51c3
docs/site: create initial version of the layout
It requires simpler modifications than I thought. Pretty interesting.
2023-07-08 19:59:23 +08:00
cac3fa25cf
docs/site: create initial Hugo configuration 2023-07-08 19:45:07 +08:00
ce062e3121
docs/site: create the initial chapter list
It is not going to work especially that it will be relative for all
pages so I guess `relref` would work (unfortunately looking like a hack
but whatever).
2023-07-08 19:07:56 +08:00
a43c5024a8
docs/site: initialize the project site 2023-07-08 19:41:30 +08:00
f9e3a2daad
users/foo-dogsquared: add user-specific nixpkgs config 2023-07-07 17:12:08 +08:00
c7461df026
modules/mutable-files: add gopass fetch type 2023-07-07 17:11:15 +08:00
545159f830
users/foo-dogsquared: add Firefox add-ons 2023-07-06 11:08:24 +08:00
ea68dbbf54
firefox-addons: init list of addons
This is generated from mozilla-addons-to-nix from rycee. It is also how
they build their own list of Firefox addons in the NUR repo.
2023-07-06 11:05:15 +08:00
c3bec31b86
chore: reformat codebase 2023-07-05 16:42:15 +08:00
654f531b8d
config: remove ssh service alias 2023-07-05 16:40:33 +08:00
66317b18bc
hosts/bootstrap: explicitly configure SSH daemon 2023-07-05 16:39:58 +08:00
0aa69a1ad8
lib/private: fix key override for getting secrets
The secrets key and path shouldn't be overridden by the functions. The
fix was simpler than I thought.
2023-07-05 13:34:41 +08:00
426e4e360a
tasks: refactor with path prefix 2023-07-05 13:14:38 +08:00
2e7cdeacf3
hosts: remove host path prefix for sops keys
It is more explicit and elegant but more of a pain to manage especially
with the new function. It was structured that way for other hosts'
secrets but it isn't really used in practice. We could just enforce a
convention such as a `hosts` prefix to contain those secrets.
2023-07-05 13:11:47 +08:00
240515ed3b
tasks: add prefix for sops secrets key path 2023-07-05 13:04:52 +08:00
2677400a43
lib/private: add attachSopsPathPrefix 2023-07-05 13:03:41 +08:00