This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
forked from YisuiDenghua/my-nixos-livecd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iso.nix
76 lines (52 loc) · 1.54 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, ... }:
{
imports = [
./override.nix
<nixos/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix>
# Provide an initial copy of the NixOS channel so that the user
# doesn't need to run "nix-channel --update" first.
<nixos/nixos/modules/installer/cd-dvd/channel.nix>
# Get ready to install Arch Linux
./pacman/init.nix
];
nix.binaryCaches = [ "${import ./mirror.nix}/nix-channels/store" ];
# boot.kernelPackages = pkgs.linuxPackages_latest;
fonts.fonts = with pkgs; [
noto-fonts-cjk
];
#i18n.defaultLocale = "zh_CN.UTF-8";
i18n.inputMethod = {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [
libpinyin table table-chinese
];
};
# security.doas.enable = true;
services = {
gnome = {
core-utilities.enable = false;
tracker-miners.enable = false;
tracker.enable = false;
};
gvfs.enable = true;
# xserver.excludePackages = [ pkgs.xterm ];
};
users.defaultUserShell = pkgs.fish;
environment = {
shells = [ pkgs.fish ];
systemPackages = with pkgs; [
baobab
cinnamon.nemo
clapper
gnome.file-roller
gnome.gnome-system-monitor
gnome.gnome-terminal
inxi
local.timeshift
];
};
isoImage.squashfsCompression = "zstd -Xcompression-level 6";
}