Commit Graph

679 Commits

Author SHA1 Message Date
Gabriel Arazas
e6e3dc85f6 profiles/server: init module 2022-11-30 08:36:37 +08:00
Gabriel Arazas
131fa25023 profiles/system: rename to profiles/desktop
The need for configuring desktop and server in separate profiles is
becoming more obvious. Not to mention, most of the system config from
profiles/system is obviously more desktop-oriented.
2022-11-29 21:10:51 +08:00
Gabriel Arazas
07b198c5ab docs: update 2022-11-29 15:58:33 +08:00
Gabriel Arazas
38d8542875 config: update image formats for more hosts 2022-11-29 15:58:33 +08:00
Gabriel Arazas
2c8f35500e hosts/graphical-installer: use latest kernel 2022-11-29 15:58:33 +08:00
Gabriel Arazas
008201c11a hosts/bootstrap: use latest kernel 2022-11-29 15:58:33 +08:00
Gabriel Arazas
071645a48d decker: 1.3 -> 1.4 2022-11-29 15:58:33 +08:00
Gabriel Arazas
794a7a65ac hosts/plover: update config
It now uses PostgreSQL for the services and also fixed some of the
misconfigurations in the services.
2022-11-29 15:58:33 +08:00
Gabriel Arazas
7f87ee09c4 users: set the correct attributes for authorized keyfiles 2022-11-28 00:41:27 +08:00
Gabriel Arazas
918d450134 scripts: init 2022-11-27 00:52:16 +08:00
Gabriel Arazas
8e462418e3 hosts/plover: add gcp-kms key for secret 2022-11-27 00:51:05 +08:00
Gabriel Arazas
78fa7342b6 shell: add deploy-rs 2022-11-26 20:52:53 +08:00
Gabriel Arazas
a9080eff06 tasks/multimedia-archive: update job queue for archivebox service 2022-11-26 20:52:19 +08:00
Gabriel Arazas
5f32e4fd98 profiles: update misc parts of config 2022-11-26 14:13:59 +08:00
Gabriel Arazas
3889429ac2 hosts/plover: update config 2022-11-26 14:13:17 +08:00
Gabriel Arazas
a3d3bb0164 users/plover: init home-manager profile 2022-11-26 14:12:30 +08:00
Gabriel Arazas
025d96dbbc lib/private: update mapHomeManagerUser 2022-11-26 14:12:01 +08:00
Gabriel Arazas
cee69d59a0 config: consider default host config for system images
There are some parts of the config when imported with image modules
where it will set them with often default overrides. It is best to let
them override with our host config especially with the more important
options such as anything networking-related.
2022-11-25 21:28:11 +08:00
Gabriel Arazas
f9751a9510 hosts/ni: update config 2022-11-25 21:27:25 +08:00
Gabriel Arazas
30e75ebfc7 users/plover: refactor into user-specific config 2022-11-25 21:27:00 +08:00
Gabriel Arazas
b89d9f249c users/admin: init
This is the user to be used for managing installations with deploy-rs
but it is also the main user for servers.
2022-11-25 21:25:40 +08:00
Gabriel Arazas
b20229354a ci: update build ISO workflow 2022-11-25 15:03:04 +08:00
Gabriel Arazas
181de0406b config: update comments 2022-11-25 14:51:27 +08:00
Gabriel Arazas
afb86dd59a config: add some hosts image to packages 2022-11-25 14:51:27 +08:00
Gabriel Arazas
da5b904fd7 hosts/bootstrap: update ISO filename 2022-11-25 14:51:27 +08:00
Gabriel Arazas
549d067278 hosts/ni: update 2022-11-25 14:51:27 +08:00
Gabriel Arazas
8e854965b7 workflows: manually update module list
Requires more manual work (which is negligible) but it's oddly more
intuitive.
2022-11-25 14:51:27 +08:00
Gabriel Arazas
a81eb6d90e secrets: update 2022-11-25 14:51:27 +08:00
Gabriel Arazas
51d51f5398 hosts/plover: init 2022-11-25 14:51:27 +08:00
Gabriel Arazas
5622076820 profiles/system: add hardened config 2022-11-23 22:45:07 +08:00
Gabriel Arazas
6a9b703c6c flake.lock: update inputs
Flake lock file updates:

• Updated input 'deploy':
    'github:serokell/deploy-rs/be40823735bbdc40c1f6b7725c8b74d5a85d8023' (2022-11-14)
  → 'github:serokell/deploy-rs/2a3c5f70eee04a465aa534d8bd4fcc9bb3c4a8ce' (2022-11-18)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/5403096194fd02e1a5424a365d057d934c705639' (2022-11-16)
  → 'github:nix-community/emacs-overlay/89f2e82fec9f7c2dde0381976266a245f0072217' (2022-11-22)
• Updated input 'helix-editor':
    'github:helix-editor/helix/322e957ea1947108d10699f217b75b831df2a2c0' (2022-11-17)
  → 'github:helix-editor/helix/642a961c032b2a7e7fa67bfc3da54588d0ae8c5b' (2022-11-22)
• Updated input 'helix-editor/nci':
    'github:yusdacra/nix-cargo-integration/cd5e5cbd81c80dc219455dd3b1e0ddb55fae51ec' (2022-11-04)
  → 'github:yusdacra/nix-cargo-integration/c5133b91fc1d549087c91228bd213f2518728a4b' (2022-11-21)
• Updated input 'helix-editor/nci/dream2nix':
    'github:nix-community/dream2nix/5252794e58eedb02d607fa3187ffead7becc81b0' (2022-11-02)
  → 'github:nix-community/dream2nix/c77e8379d8fe01213ba072e40946cbfb7b58e628' (2022-11-19)
• Updated input 'helix-editor/nci/dream2nix/alejandra':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/all-cabal-json':
    'github:nix-community/all-cabal-json/d7c0434eebffb305071404edcf9d5cd99703878e' (2022-10-12)
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/flake-utils-pre-commit':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/ghc-utils':
    'git+https://gitlab.haskell.org/bgamari/ghc-utils?ref=refs%2fheads%2fmaster&rev=bb3a2d3dc52ff0253fb9c2812bd7aa2da03e0fea' (2022-09-10)
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/gomod2nix':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/mach-nix':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/poetry2nix':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/nci/dream2nix/pre-commit-hooks':
    follows 'helix-editor/nci/nixpkgs'
  → follows 'helix-editor/nci'
• Updated input 'helix-editor/rust-overlay':
    'github:oxalica/rust-overlay/cf668f737ac986c0a89e83b6b2e3c5ddbd8cf33b' (2022-11-03)
  → 'github:oxalica/rust-overlay/68ab029c93f8f8eed4cf3ce9a89a9fd4504b2d6e' (2022-11-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/bc90de24d898655542589237cc0a6ada7564cb6c' (2022-11-13)
  → 'github:nix-community/home-manager/f7641a3ff398ccce952e19a199d775934e518c1d' (2022-11-21)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/ade681bb266b4cdc0e613e0d10c4c56eb8d01ad1' (2022-11-16)
  → 'github:nix-community/neovim-nightly-overlay/97060f3810a486b85d853fc1464e7e19ad914687' (2022-11-22)
• Updated input 'neovim-nightly-overlay/flake-compat':
    'github:edolstra/flake-compat/b4a34015c698c7793d592d66adbab377907a2be8' (2022-04-19)
  → 'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
• Updated input 'neovim-nightly-overlay/neovim-flake':
    'github:neovim/neovim/fa7e1e26019112ff9e2ea42626995f04e2a4e032?dir=contrib' (2022-11-15)
  → 'github:neovim/neovim/5eb5f4948826e9d47685ea9e257409cc3e693614?dir=contrib' (2022-11-22)
• Updated input 'nixos-generators':
    'github:nix-community/nixos-generators/41f3518bc194389df22a3d198215eae75e6b5ab9' (2022-10-26)
  → 'github:nix-community/nixos-generators/50aeec40f2072d2ab267c8ec8a345573704ec110' (2022-11-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/85d6b3990def7eef45f4502a82496de02a02b6e8' (2022-11-15)
  → 'github:NixOS/nixpkgs/20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8' (2022-11-21)
• Updated input 'nur':
    'github:nix-community/NUR/5bb050ca96ef11cf2f83e6eece7fc26dc542e2e7' (2022-11-17)
  → 'github:nix-community/NUR/57a4b831d3ccef30ce42268b436164da375fff28' (2022-11-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c91265a3f0d28b3b1ad60a47c4764a45b111ed4b' (2022-11-17)
  → 'github:oxalica/rust-overlay/c90c223c4aef334356029b89c72bb65e26f7efe6' (2022-11-23)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/39f0fe57f1ef78764c1abc1de145f091fee1bbbb' (2022-11-13)
  → 'github:Mic92/sops-nix/f72e050c3ef148b1131a0d2df55385c045e4166b' (2022-11-20)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/eac99848dfd869e486573d8272b0c10729675ca2' (2022-11-13)
  → 'github:NixOS/nixpkgs/b68a6a27adb452879ab66c0eaac0c133e32823b2' (2022-11-20)
2022-11-23 11:00:39 +08:00
Gabriel Arazas
9bd62dba58 config: add hydraJobs to the outputs 2022-11-21 20:33:58 +08:00
Gabriel Arazas
b3452258fd tasks/multimedia-archive: add jobset for Archivebox service
This is a sample but I think it's fine for situations where I have no
sources other than my remote repository.
2022-11-21 20:33:44 +08:00
Gabriel Arazas
68830df1c4 docs: update doc for multimedia archiving task 2022-11-21 10:42:14 +08:00
Gabriel Arazas
09abb36ad6 tasks/multimedia-archive: add support for category RSS attribute 2022-11-21 10:39:21 +08:00
Gabriel Arazas
ddb39df858 mopidy-funkwhale: 1.0 -> 1.1.0 2022-11-20 14:39:01 +08:00
Gabriel Arazas
b17e88d13c decker: 1.2 -> 1.3 2022-11-20 13:47:43 +08:00
Gabriel Arazas
a36d0ea707 tasks/multimedia-archive: fix import OPML script 2022-11-19 21:06:10 +08:00
Gabriel Arazas
451f0eb004 tasks/multimedia-archive: rename and reformat scripts
treefmt unfortunately doesn't a way to detect scripts with no file
extensions unless you entered the filename manually. We'll have to
rename them with the file extension for the time being.
2022-11-19 11:32:29 +08:00
Gabriel Arazas
3a7816a901 chore: reformat codebase 2022-11-19 11:32:29 +08:00
Gabriel Arazas
5ea8fcb0cf config: add treefmt as formatter tool 2022-11-19 11:32:29 +08:00
Gabriel Arazas
025e506499 profiles/dev: set additional Nix options 2022-11-19 11:00:15 +08:00
Gabriel Arazas
75ab01a683 tasks/multimedia-archive: update the import OPML script
It's certainly better and more flexible for other formats. Except I'm
still not going to cater much for odder Thunderbird feed folder
structures. This is mainly for myself anyways. I'll just avoid setting
it up like that. :)
2022-11-19 10:36:13 +08:00
Gabriel Arazas
d306be8758 tasks/multimedia-archive: create script for importing OPML
Not much respect for `category` attribute, apparently. I'll update it at
some point to consider the usual folder structure instead.

For now, it's not a problem for me since the exported feeds to be used
are so low anyways.
2022-11-18 17:12:54 +08:00
Gabriel Arazas
a66a7a3007 git: add config for all documents
All of the publicly committed documents are only README files which is
apparently exempted by default.
2022-11-17 13:37:48 +08:00
Gabriel Arazas
468e6862a9 docs: update 2022-11-17 13:36:44 +08:00
Gabriel Arazas
ed893813fe config: remove system as part of extraArgs
We use nixpkgs with the intended system anyways so we could get away
with getting the system from the imported nixpkgs attrset.
2022-11-17 13:35:19 +08:00
Gabriel Arazas
11b27404c3 flake.lock: update inputs
Flake lock file updates:

• Updated input 'deploy':
    'github:serokell/deploy-rs/41f15759dd8b638e7b4f299730d94d5aa46ab7eb' (2022-08-05)
  → 'github:serokell/deploy-rs/be40823735bbdc40c1f6b7725c8b74d5a85d8023' (2022-11-14)
• Updated input 'dotfiles':
    'github:foo-dogsquared/dotfiles/7725082138516476fa48f2b0a827bc62b3699332' (2022-09-02)
  → 'github:foo-dogsquared/dotfiles/5862afecaf045175891550c1020c09cd2dbb32ed' (2022-11-17)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/307dfb67a8080125c50d0c99f6bf6178a23395f7' (2022-11-04)
  → 'github:nix-community/emacs-overlay/5403096194fd02e1a5424a365d057d934c705639' (2022-11-16)
• Updated input 'guix-overlay':
    'github:foo-dogsquared/nix-overlay-guix/ab1f301df1bb9ad80ac3ef9805c1e41cc3b5595f' (2022-10-16)
  → 'github:foo-dogsquared/nix-overlay-guix/82b88f9b183ca42174c194072d9d12965e22f4f7' (2022-11-08)
• Updated input 'helix-editor':
    'github:helix-editor/helix/9a898be95934bec46c5a77c61d77314ecb4d71fc' (2022-11-04)
  → 'github:helix-editor/helix/322e957ea1947108d10699f217b75b831df2a2c0' (2022-11-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/93335810751f0404fe424e61ad58bc8e94bf8e9d' (2022-11-03)
  → 'github:nix-community/home-manager/bc90de24d898655542589237cc0a6ada7564cb6c' (2022-11-13)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/d5973eb04b07add9afcc4d4356fe15555d904e20' (2022-11-04)
  → 'github:nix-community/neovim-nightly-overlay/ade681bb266b4cdc0e613e0d10c4c56eb8d01ad1' (2022-11-16)
• Updated input 'neovim-nightly-overlay/neovim-flake':
    'github:neovim/neovim/cc5b7368d61cfcd775dd02803dbdb8d4d05b5d5d?dir=contrib' (2022-11-03)
  → 'github:neovim/neovim/fa7e1e26019112ff9e2ea42626995f04e2a4e032?dir=contrib' (2022-11-15)
• Updated input 'nix-alien':
    'github:thiagokokada/nix-alien/15b2a5bf441baa2ff0df6f23a83058fa2198e477' (2022-11-03)
  → 'github:thiagokokada/nix-alien/ec6dabeaddecab75794bfa1070989371b2636b70' (2022-11-15)
• Updated input 'nix-ld':
    'github:Mic92/nix-ld/c25cc4b5ec65f03c2bb96f927ae724a59c51d7ee' (2022-05-15)
  → 'github:Mic92/nix-ld/7d251c0c5adf6b9b003499243be257d0f130b3d6' (2022-11-14)
• Updated input 'nix-ld/utils':
    'github:numtide/flake-utils/0d347c56f6f41de822a4f4c7ff5072f3382db121' (2022-05-12)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a2a777538d971c6b01c6e54af89ddd6567c055e8' (2022-11-03)
  → 'github:NixOS/nixpkgs/85d6b3990def7eef45f4502a82496de02a02b6e8' (2022-11-15)
• Updated input 'nur':
    'github:nix-community/NUR/0386528039e72a3bb3c8cc930aa903fbbdd6d83c' (2022-11-04)
  → 'github:nix-community/NUR/5bb050ca96ef11cf2f83e6eece7fc26dc542e2e7' (2022-11-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/cf668f737ac986c0a89e83b6b2e3c5ddbd8cf33b' (2022-11-03)
  → 'github:oxalica/rust-overlay/c91265a3f0d28b3b1ad60a47c4764a45b111ed4b' (2022-11-17)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/486b4455da16272c1ed31bc82adcdbe7af829465' (2022-11-02)
  → 'github:Mic92/sops-nix/39f0fe57f1ef78764c1abc1de145f091fee1bbbb' (2022-11-13)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/6440d13df2327d2db13d3b17e419784020b71d22' (2022-10-30)
  → 'github:NixOS/nixpkgs/eac99848dfd869e486573d8272b0c10729675ca2' (2022-11-13)
2022-11-17 11:24:30 +08:00
Gabriel Arazas
27859995a8 decker: unstable-2022-11-02 -> 1.2 2022-11-15 14:42:57 +08:00
Gabriel Arazas
f44928679e ci: update build ISO workflow to use from current flake 2022-11-15 13:12:51 +08:00