-
Notifications
You must be signed in to change notification settings - Fork 1
/
iso.nix
76 lines (47 loc) · 1.21 KB
/
iso.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
nixpkgs.config.permittedInsecurePackages = [
"electron-12.2.3"
];
imports = [ ./installation-cd-graphical-plasma5.nix ];
boot.kernelPackages = pkgs.linuxPackages_latest;
fonts.fonts = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
source-han-serif
source-han-sans
];
nix.binaryCaches = [ "https://mirrors.ustc.edu.cn/nix-channels/store" "https://cache.nixos.org/" ];
#i18n.defaultLocale = "zh_CN.UTF-8";
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = with pkgs; [ fcitx5-chinese-addons ];
nixpkgs.config.allowUnfree = true;
security.doas.enable = true;
environment.systemPackages = with pkgs; [
appimage-run
chromium
v2ray
qv2ray
tdesktop
vlc
steam-run
vscode
gcc
unzip
unrar
nmap
p7zip
flameshot
libsForQt5.kmines
gimp
apfs-fuse
libsForQt5.ark
libsForQt5.kate
etcher
element-desktop
];
}