Commit Graph

2910 Commits

Author SHA1 Message Date
3d1db5bfe3
nixos/programs/{gnome-session,sessiond}: update systemd options visibility
Forgot those are not set up properly. Otherwise, it will bloat up the
documentation.
2024-08-15 17:26:31 +08:00
4145bb6b6a
nixos/profiles/generic: enable generating cache for manpage doc 2024-08-15 17:22:06 +08:00
6201b8447b
bahaghari: update comments and project documentation
Preparation for
2024-08-15 17:21:27 +08:00
8837d2c623
wrapper-manager-fds/docs: update project overview 2024-08-15 17:19:54 +08:00
22a01f739b
config: update envrc file 2024-08-15 17:18:55 +08:00
dfb16a9f0b
nixvim/plugins/firenvim: remove
There is an upstream module of it now with the same settings so it is
unnecessary.
2024-08-15 12:50:51 +08:00
23230295a4
nixvim/plugins/nvim-config-local: update to RFC-45-style settings 2024-08-15 12:49:44 +08:00
54c66be82f
nixvimConfigs/fiesta/setups/devenvs: init 2024-08-15 12:48:11 +08:00
2ccd79d6b4
nixvim/plugins/nvim-remote-containers: init 2024-08-15 12:48:57 +08:00
5ffcfc2070
wrapper-manager/sandboxing/bubblewrap: add dbus-proxy-specific bwrap arguments to the launcher 2024-08-15 12:15:57 +08:00
9b2b69483b
wrapper-manager-fds/modules: update module descriptions and remove inherit-arg0 as part of default argument
The makeWrapper seems to handle most of the cases fine anyways.
2024-08-15 12:10:57 +08:00
f4f0fe0fe0
tests/modules/wrapper-manager: init 2024-08-15 12:09:23 +08:00
7bbc67421b
flake.lock: update inputs
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/0257e44f4ad472b54f19a6dd1615aee7fa48ed49' (2024-08-05)
  → 'github:nix-community/disko/0d510fe40b56ed74907a021d7e1ffd0042592914' (2024-08-12)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/c051c42e3325ac62e9bf83e72e3868db1e5f2e64' (2024-08-06)
  → 'github:nix-community/emacs-overlay/8dd2e6a5281ec2be00c2115ad0b2483be8db9d4b' (2024-08-14)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/8b5b6723aca5a51edf075936439d9cd3947b7b2c' (2024-08-04)
  → 'github:NixOS/nixpkgs/4a92571f9207810b559c9eac203d1f4d79830073' (2024-08-13)
• Updated input 'helix-editor':
    'github:helix-editor/helix/0a4432b104099534f7a25b8ea4148234db146ab6' (2024-08-02)
  → 'github:helix-editor/helix/f65ec32a1c2e09b3b32b521617f4a3ef19bc71c5' (2024-08-13)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02)
  → 'github:nix-community/home-manager/086f619dd991a4d355c07837448244029fc2d9ab' (2024-08-11)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/542c87102387028189f9dd9c885cc0dbf36a0f0d' (2024-08-06)
  → 'github:nix-community/neovim-nightly-overlay/f019c7b0e7f478e4aaf2b406785a8d6ec6d1957d' (2024-08-13)
• Updated input 'neovim-nightly-overlay/git-hooks':
    'github:cachix/git-hooks.nix/06939f6b7ec4d4f465bf3132a05367cccbbf64da' (2024-08-05)
  → 'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1' (2024-08-09)
• Updated input 'neovim-nightly-overlay/neovim-src':
    'github:neovim/neovim/b04b263e1f827e113e51a43bab0a3d5a4a28f83f' (2024-08-05)
  → 'github:neovim/neovim/9768e88f3891b5594eb2d556bd3bdf40c61d46e1' (2024-08-12)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/97ca0a0fca0391de835f57e44f369a283e37890f' (2024-08-04)
  → 'github:nix-community/nix-index-database/ec78079a904d7d55e81a0468d764d0fffb50ac06' (2024-08-11)
• Updated input 'nixos-generators':
    'github:nix-community/nixos-generators/c8c3a20b8191819219dba1af79388aa6d555f634' (2024-08-05)
  → 'github:nix-community/nixos-generators/a220fc3a6e144f12f0c3dc3e4d01d44c2e6b0b85' (2024-08-12)
• Updated input 'nixos-stable':
    'github:NixOS/nixpkgs/8b5b6723aca5a51edf075936439d9cd3947b7b2c' (2024-08-04)
  → 'github:NixOS/nixpkgs/4a92571f9207810b559c9eac203d1f4d79830073' (2024-08-13)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04)
  → 'github:NixOS/nixpkgs/a58bc8ad779655e790115244571758e8de055e3d' (2024-08-11)
• Updated input 'nixos-unstable-small':
    'github:NixOS/nixpkgs/54a75f91a509dec6e474c9336830af230fce8d1a' (2024-08-05)
  → 'github:NixOS/nixpkgs/5a1fae64da2be3d09a8f289c6257146997827d1d' (2024-08-14)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/f373ad59ae5866f0f98216bd5c71526b373450d2' (2024-07-29)
  → 'github:nix-community/NixOS-WSL/be1a6b2e4ddc34b9b6a297e7df2f2a2ecee24690' (2024-08-08)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/785feb91183a50959823ff9ba9ef673105259cd5' (2024-08-04)
  → 'github:NixOS/nixpkgs/19674872444bb3e0768249e724d99c8649c3bd78' (2024-08-13)
• Updated input 'nixvim-stable':
    'github:nix-community/nixvim/4e6974c619bd280789ef3697a73fcf7c20f70819' (2024-08-03)
  → 'github:nix-community/nixvim/0b6aa80acbcb8387f2a4affb3dd22960ac2899aa' (2024-08-13)
• Updated input 'nixvim-stable/git-hooks':
    'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
  → 'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1' (2024-08-09)
• Updated input 'nixvim-stable/nix-darwin':
    'github:lnl7/nix-darwin/f7142b8024d6b70c66fd646e1d099d3aa5bfec49' (2024-08-02)
  → 'github:lnl7/nix-darwin/91010a5613ffd7ee23ee9263213157a1c422b705' (2024-08-06)
• Updated input 'nixvim-stable/treefmt-nix':
    'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30)
  → 'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be' (2024-08-12)
• Updated input 'nixvim-unstable':
    'github:nix-community/nixvim/5922a48008e5759acb63a12b2de8348ec512760f' (2024-08-05)
  → 'github:nix-community/nixvim/dbf6f7bc997dc3a9ab1f014ea075600357226950' (2024-08-12)
• Updated input 'nixvim-unstable/git-hooks':
    'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
  → 'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1' (2024-08-09)
• Updated input 'nixvim-unstable/nix-darwin':
    'github:lnl7/nix-darwin/f7142b8024d6b70c66fd646e1d099d3aa5bfec49' (2024-08-02)
  → 'github:lnl7/nix-darwin/91010a5613ffd7ee23ee9263213157a1c422b705' (2024-08-06)
• Updated input 'nixvim-unstable/nuschtosSearch':
    'github:NuschtOS/search/3f5abffa5f28b4ac3c9212c81c5e8d2d22876071' (2024-08-01)
  → 'github:NuschtOS/search/6ca2c3ae05a915c160512bd41f6810f456c9b30d' (2024-08-11)
• Updated input 'nixvim-unstable/treefmt-nix':
    'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30)
  → 'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be' (2024-08-12)
• Updated input 'nur':
    'github:nix-community/NUR/8d43df9916996fed8eeff0aa87deac7105f0e22f' (2024-08-06)
  → 'github:nix-community/NUR/f88e52b6f36d876b2228ad7fc7d2f538d99c493d' (2024-08-14)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05)
  → 'github:Mic92/sops-nix/be0eec2d27563590194a9206f551a6f73d52fa34' (2024-08-12)
2024-08-14 10:40:03 +08:00
9aa8cd7680
wrapper-manager/sandboxing/boxxy: remove escaping arguments
Similar reason to dd7856c46be1.
2024-08-12 17:56:36 +08:00
ea035976cc
home-manager/services/ludusavi: init 2024-08-12 17:55:50 +08:00
11e7d52350
wrapper-manager/sandboxing/bubblewrap: fix escaping arguments and launcher
The makeWrapper arguments are not escaped anymore for the binary wrapper
that automatically does this anyways.
2024-08-12 15:34:23 +08:00
11e2ae7e33
wrapper-manager/sandboxing/boxxy: refactor 2024-08-10 21:28:31 +08:00
20b483fda4
wrapper-manager/sandboxing/bubblewrap: fix options 2024-08-10 21:28:01 +08:00
456c5e771c
wrapper-manager/sandboxing/bubblewrap: add sysfs ro-binds as part of launcher optimizations 2024-08-10 21:27:29 +08:00
a2439e9419
wrapper-manager/programs/neovim: init 2024-08-10 12:46:23 +08:00
632e1b1d8c
lib: implement filterAttrs'
Uhh... I forgot that this is a thing.
2024-08-08 11:19:03 +08:00
ebece66e15
flake.lock: update inputs
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/1e6f8a7b4634fc051cc9361959bf414fcf17e094' (2024-07-29)
  → 'github:nix-community/disko/0257e44f4ad472b54f19a6dd1615aee7fa48ed49' (2024-08-05)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/087cf45264b4487b2848e08548bb4c5f933d460c' (2024-07-29)
  → 'github:nix-community/emacs-overlay/c051c42e3325ac62e9bf83e72e3868db1e5f2e64' (2024-08-06)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12' (2024-07-27)
  → 'github:NixOS/nixpkgs/8b5b6723aca5a51edf075936439d9cd3947b7b2c' (2024-08-04)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'flake-parts/nixpkgs-lib':
    '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
  → 'a5d394176e.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01)
• Updated input 'helix-editor':
    'github:helix-editor/helix/ce809fb9ef4c5af59b5401419a2e8ae6964c8229' (2024-07-30)
  → 'github:helix-editor/helix/0a4432b104099534f7a25b8ea4148234db146ab6' (2024-08-02)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/792757f643cedc13f02098d8ed506d82e19ec1da' (2024-07-28)
  → 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02)
• Updated input 'neovim-nightly-overlay':
    'github:nix-community/neovim-nightly-overlay/cbf1a4829aad170bcf35ca417617d3ff29f76267' (2024-07-30)
  → 'github:nix-community/neovim-nightly-overlay/542c87102387028189f9dd9c885cc0dbf36a0f0d' (2024-08-06)
• Updated input 'neovim-nightly-overlay/flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'neovim-nightly-overlay/git-hooks':
    'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
  → 'github:cachix/git-hooks.nix/06939f6b7ec4d4f465bf3132a05367cccbbf64da' (2024-08-05)
• Updated input 'neovim-nightly-overlay/neovim-src':
    'github:neovim/neovim/4b852bc555121f888a284dde45a56a0b7a42b851' (2024-07-29)
  → 'github:neovim/neovim/b04b263e1f827e113e51a43bab0a3d5a4a28f83f' (2024-08-05)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/c0ca47e8523b578464014961059999d8eddd4aae' (2024-07-28)
  → 'github:nix-community/nix-index-database/97ca0a0fca0391de835f57e44f369a283e37890f' (2024-08-04)
• Updated input 'nixos-generators':
    'github:nix-community/nixos-generators/75cbb2a5e19c18840d105a72d036c6c92fc46c5d' (2024-07-29)
  → 'github:nix-community/nixos-generators/c8c3a20b8191819219dba1af79388aa6d555f634' (2024-08-05)
• Updated input 'nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/d15f6f6021693898fcd2c6a9bb13707383da9bbc' (2024-07-28)
  → 'github:nix-community/nixpkgs.lib/8bebd4c74f368aacb047f0141db09ec6b339733c' (2024-08-04)
• Updated input 'nixos-stable':
    'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12' (2024-07-27)
  → 'github:NixOS/nixpkgs/8b5b6723aca5a51edf075936439d9cd3947b7b2c' (2024-08-04)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/b73c2221a46c13557b1b3be9c2070cc42cf01eb3' (2024-07-27)
  → 'github:NixOS/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04)
• Updated input 'nixos-unstable-small':
    'github:NixOS/nixpkgs/fc5e08c73022f96cfeaefa2e087e8b713d47d201' (2024-07-29)
  → 'github:NixOS/nixpkgs/54a75f91a509dec6e474c9336830af230fce8d1a' (2024-08-05)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/038fb464fcfa79b4f08131b07f2d8c9a6bcc4160' (2024-07-28)
  → 'github:NixOS/nixpkgs/785feb91183a50959823ff9ba9ef673105259cd5' (2024-08-04)
• Updated input 'nixvim-stable':
    'github:nix-community/nixvim/59cc229e6f6143563c01d367c36f8cff91831680' (2024-07-27)
  → 'github:nix-community/nixvim/4e6974c619bd280789ef3697a73fcf7c20f70819' (2024-08-03)
• Updated input 'nixvim-stable/devshell':
    'github:numtide/devshell/cc8700135fb0740199ac248063f20c6b1a3c7e42' (2024-07-26)
  → 'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27)
• Removed input 'nixvim-stable/devshell/flake-utils'
• Removed input 'nixvim-stable/devshell/flake-utils/systems'
• Updated input 'nixvim-stable/flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'nixvim-stable/nix-darwin':
    'github:lnl7/nix-darwin/0413754b3cdb879ba14f6e96915e5fdf06c6aab6' (2024-07-27)
  → 'github:lnl7/nix-darwin/f7142b8024d6b70c66fd646e1d099d3aa5bfec49' (2024-08-02)
• Updated input 'nixvim-stable/treefmt-nix':
    'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009' (2024-07-23)
  → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30)
• Updated input 'nixvim-unstable':
    'github:nix-community/nixvim/2089eb407d8c5dbd6ca6e93d4988a439ca6446fd' (2024-07-29)
  → 'github:nix-community/nixvim/5922a48008e5759acb63a12b2de8348ec512760f' (2024-08-05)
• Updated input 'nixvim-unstable/flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'nixvim-unstable/nix-darwin':
    'github:lnl7/nix-darwin/0413754b3cdb879ba14f6e96915e5fdf06c6aab6' (2024-07-27)
  → 'github:lnl7/nix-darwin/f7142b8024d6b70c66fd646e1d099d3aa5bfec49' (2024-08-02)
• Updated input 'nixvim-unstable/nuschtosSearch':
    'github:NuschtOS/search/16565307c267ec219c2b5d3494ba66df08e7d403' (2024-07-28)
  → 'github:NuschtOS/search/3f5abffa5f28b4ac3c9212c81c5e8d2d22876071' (2024-08-01)
• Updated input 'nixvim-unstable/treefmt-nix':
    'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009' (2024-07-23)
  → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30)
• Updated input 'nur':
    'github:nix-community/NUR/3c061c079f692ba54dc43874790ebe1144ca6774' (2024-07-30)
  → 'github:nix-community/NUR/8d43df9916996fed8eeff0aa87deac7105f0e22f' (2024-08-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/eb34eb588132d653e4c4925d862f1e5a227cc2ab' (2024-07-27)
  → 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05)
2024-08-06 15:06:22 +08:00
a5866bd7ba
lib: update entrypoints 2024-08-06 11:20:51 +08:00
77411ba102
nixos/services/uxplay: update systemd service config 2024-08-06 11:20:15 +08:00
7d0ee596f2
wrapper-manager/sandboxing/bubblewrap: update launcher script 2024-08-06 11:17:56 +08:00
99b13543ae
wrapper-manager/sandboxing/bubblewrap: update default values 2024-08-06 11:17:22 +08:00
c73d27dba3
wrapper-manager/sandboxing: fix options for extraArgs 2024-08-06 11:07:07 +08:00
7524d87b49
wrapper-manager/sandboxing/bubblewrap: update closure path mount binds
It could be done by removing the string context but it is more tedious
to maintain in the long run so it would be best to have them separate.
2024-08-06 11:06:28 +08:00
c127b79eb1
wrapper-manager/sandboxing/bubblewrap: add destination to filesystem submodule 2024-08-06 11:04:34 +08:00
f58675d0f9
wrapper-manager/sandboxing/bubblewrap: enable sharing of entire Nix store by default 2024-08-06 11:02:42 +08:00
5773481ce0
wrapper-manager/sandboxing/bubblewrap: add option to bundle certificates from nixpkgs 2024-08-06 11:00:00 +08:00
a6c8213d57
wrapper-manager/sandboxing/bubblewrap: fix setting of global-wide config values for individual wrappers
May cause subtle bugs especially with compound value types such as
`attrsOf` and `listOf`.
2024-08-05 19:32:46 +08:00
73a6dba219
wrapper-manager/sandboxing/bubblewrap: fix filesystem path types
To enable arguments containing environment variables but at the cost of
lack of validation. I'm fine with this.
2024-08-05 19:07:29 +08:00
3a4833d46d
wrapper-manager/sandboxing/bubblewrap: init launcher submodule
At the end of the day, I decided to make it in nixpkgs' runtime shell
(GNU Bash) instead of Rust because it'll be a pain in the ass.
2024-08-05 18:42:12 +08:00
e042128be3
wrapper-manager-fds/modules: update stringy type 2024-08-04 17:32:41 +08:00
fcd9503664
wrapper-manager-fds/docs: update project overview and add design notes to modules 2024-08-03 16:47:08 +08:00
f88190bc18
wrapper-manager-fds/modules: add suffix and prefix for setting envvars 2024-08-03 16:45:48 +08:00
fc382ed588
nixvimConfigs/fiesta: update LSP-related config 2024-08-03 08:52:10 +08:00
820ea56746
bahaghari/lib: move toFloat to trivial namespace 2024-08-03 08:51:28 +08:00
dc80f95e2b
lib: conditionally add flake subset 2024-08-02 11:55:45 +08:00
6987a2215f
modules: fix state.paths typing 2024-08-02 11:55:21 +08:00
c3cdc27721
wrapper-manager-fds/modules: update makeWrapper names to be more proper 2024-08-02 11:54:30 +08:00
d7338a8722
wrapper-manager/nixgl: change wraparound.executable to wraparound.arg0
Also for consistency.
2024-08-01 17:27:01 +08:00
b43e5f279e
config: exclude subprojects for formatting 2024-08-01 12:30:26 +08:00
2a2526f196
home-manager/services/gonic: init
Even though it's pointless in practice since it needs firewall for
security-oriented systems but still... could be useful for desktop
systems where security is permissive.
2024-08-01 12:29:56 +08:00
3c56efb777
wrapper-manager/sandboxing: change to arg0 for wraparound for consistency 2024-08-01 12:10:19 +08:00
2b7adc7fa4
wrapper-manager-fds/tests: add configs in default test suite 2024-08-01 12:08:18 +08:00
7009462c3c
wrapper-manager-fds/modules: change basePackages to accept a bare package
This will allow us to make changes to `programs.<name>.package`-type of
options found in NixOS, home-manager, etc. but it is expensive at the
cost of a rebuild which depends on the package.
2024-08-01 12:07:34 +08:00
d69e61f2a8
bahaghari/lib: add isEven and isOdd for math subset 2024-08-01 11:02:06 +08:00
9c69e03395
bahaghari/tests: add tests derivation for flake output
Also a schema to check if the whole test suite passes which is nice.
2024-08-01 10:59:26 +08:00