feat: update TODO, fix some problems

This commit is contained in:
ryan4yin
2023-05-07 00:28:30 +08:00
parent b8b4d843d6
commit e9e63e6d4a
17 changed files with 114 additions and 64 deletions
+12 -17
View File
@@ -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
];
}