Desktop customization misc

未关闭
#11 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
领域
documentation

调研方向

Review the flake.nix and home.nix sections described in the issue, comparing the reported working examples with the current documentation. Clarify the placement and syntax guidance, then decide how much desktop customization and GUI guidance the documentation should cover.

由索引模型根据 Issue 内容生成。

描述

flake.nix

i think i messed up, but i had to change the boilerplate of the flake.nix to this to get it to run:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    plasma-manager = {
      url = "github:nix-community/plasma-manager";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.home-manager.follows = "home-manager";
    };
  };

  outputs = inputs@{ nixpkgs, home-manager, plasma-manager, ... }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      username = "$USER";  # (was my actual username) 
    in
    {
      homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
        inherit pkgs;

        modules = [
          plasma-manager.homeModules.plasma-manager
          ./home.nix
        ];
      };

      packages.${system}.activationPackage = 
        (home-manager.lib.homeManagerConfiguration {
          inherit pkgs;

          modules = [
            plasma-manager.homeModules.plasma-manager
            ./home.nix
          ];
        }).activationPackage;
    };
}
home.nix

the section for the home.nix should include an extra }; and also we should specifcy that you put that block in before the programs.home-manager.enable = true;. this is what worked for me:

  programs.plasma = {
    enable = true;

    workspace = {
      lookAndFeel = "org.kde.breezedark.desktop";
      iconTheme = "Papirus-Dark";
  };
};
misc thoughts
  • how much do we want to explain in our documentation?

  • should we make a GUI script for non-technical patrons?

主要语言
HTML
星标
1
派生
21
平均合并
13 小时 51 分钟
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ocf/mkdocs 的其他 Issue

查看 ocf/mkdocs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。