Changing system configuration from home?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
Start by loading the flake in a Nix REPL and compare the homeConfigurations and nixosConfigurations expressions described in the issue. Investigate how the home configuration is exposed through snowfallorg.users and determine a documented way for the system side to inspect it. Done means the cross-configuration access pattern is defined and demonstrated for the octelly home configuration.
索引モデルが issue の本文から書いたものです。
説明
First, I am aware that this can not be done directly and it's not what I'm asking for.
I would like a way of checking homeConfigurations from the nixosConfigurations side. The goal would be, to for example check if a user has a DE enabled, so that it can be added to system packages in the nixosConfiguration.
I haveoctelly.programs.mpv.enable = true; in homes/x86_64-linux/octelly@vmware-nixos (test option). I've done some probing and found that:
- loading the flake in repl and checking
nixosConfigurations.vmware-nixos.config.snowfallorg.users.octelly.home.config.octelly.programs.mpv.enablereturnsfalse - loading the flake in repl and checking
homeConfigurations."octelly@vmware-nixos".options.octelly.programs.mpv.enable.value, however I'm not aware of a documented way of accessingself
I thought of writing per-user NixOS modules, so that a system could set options like target.graphics = true; and users could have their modules that would then for example snowfallorg.users.octelly.home.config.programs.plasma = true;, but that feels like a dirty fix.
- 主要言語
- Nix
- スター
- 627
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
snowfallorg/lib のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
snowfallorg/lib#159 · リアクション 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
snowfallorg/lib#192 · リアクション 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
snowfallorg/lib#190 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
snowfallorg/lib#188 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
snowfallorg/lib#186 ·
snowfallorg/lib の issue をすべて見る
似ている issue
-
mock-core-configs/etc/mock/rocky-10-riscv64.cfg contains the wrong architecture in config_opts['root']対応中かも @jasonmontleon が 4 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
rpm-software-management/mock#1834 ·
-
status:in-linear
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
is:build
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
leanprover-community/lean4game#589 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
unocss/unocss#5421 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信