mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-19 14:17:26 +02:00
feat: update TODO, fix some problems
This commit is contained in:
+12
-17
@@ -5,24 +5,19 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
# 将 nixos-cn flake 提供的 registry 添加到全局 registry 列表中
|
||||
# 可在`nixos-rebuild switch`之后通过`nix registry list`查看
|
||||
nixos-cn.nixosModules.nixos-cn-registries
|
||||
|
||||
home.packages = with nixos-cn; [
|
||||
qq
|
||||
wechat-uos
|
||||
netease-cloud-music
|
||||
# 引入nixos-cn flake提供的NixOS模块
|
||||
nixos-cn.nixosModules.nixos-cn
|
||||
];
|
||||
|
||||
programs = {
|
||||
mpv = {
|
||||
enable = true;
|
||||
defaultProfiles = ["gpu-hq"];
|
||||
scripts = [pkgs.mpvScripts.mpris];
|
||||
};
|
||||
|
||||
obs-studio.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
playerctld.enable = true;
|
||||
};
|
||||
# # 使用 nixos-cn flake 提供的包
|
||||
home.packages = with nixos-cn.legacyPackages.${pkgs.system}; [
|
||||
# qq
|
||||
# wechat-uos # TODO failed to install
|
||||
netease-cloud-music # TODO chinese font missing
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user