Skip to content

Commit d0bb80a

Browse files
committed
Update instruction for nixos
1 parent 32c64d2 commit d0bb80a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const logic = {
6666
},
6767
NixOS: {
6868
'Package Manager':
69-
'# Thêm input của fcitx5-lotus vào flake.nix:\n{\n inputs = {\n nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";\n\n fcitx5-lotus = {\n url = "github:LotusInputMethod/fcitx5-lotus";\n inputs.nixpkgs.follows = "nixpkgs";\n };\n };\n\n outputs = {\n self,\n ...\n}\n\n# Bật fcitx5-lotus service trong configuration.nix:\n\n{\n inputs,\n ...\n}: {\n imports = [\n inputs.fcitx5-lotus.nixosModules.fcitx5-lotus\n ];\n\n services.fcitx5-lotus = {\n enable = true;\n user = "your_username"; # Sửa thành tên user của bạn\n\n };\n}\n\n# Rebuild lại system để cài đặt.',
69+
'# Thêm input của fcitx5-lotus vào flake.nix:\n{\n inputs = {\n nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";\n\n fcitx5-lotus = {\n url = "github:LotusInputMethod/fcitx5-lotus";\n inputs.nixpkgs.follows = "nixpkgs";\n };\n };\n\n outputs = { self, ... }:\n # ...\n}\n\n# Bật fcitx5-lotus service trong configuration.nix:\n\n{\n inputs,\n ...\n}: {\n imports = [\n inputs.fcitx5-lotus.nixosModules.fcitx5-lotus\n ];\n\n services.fcitx5-lotus = {\n enable = true;\n users = [ "your_username" ]; # Sửa thành list tên user của bạn\n };\n}\n\n# Rebuild lại system để cài đặt.',
7070
Binary: 'NixOS ưu tiên cấu hình thông qua flake hoặc module.',
7171
Source: 'NixOS ưu tiên sử dụng nix-shell.',
7272
},

0 commit comments

Comments
 (0)