add qemu
This commit is contained in:
parent
4477876405
commit
44374a8404
@ -25,17 +25,17 @@
|
|||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
substituters = lib.mkForce [
|
substituters = lib.mkForce [
|
||||||
"https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大
|
"https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大
|
||||||
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" #清华
|
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" #清华
|
||||||
"https://mirrors.bfsu.edu.cn/nix-channels/store" # 北外
|
"https://mirrors.bfsu.edu.cn/nix-channels/store" # 北外
|
||||||
"https://mirror.sjtu.edu.cn/nix-channels/store" #交大
|
"https://mirror.sjtu.edu.cn/nix-channels/store" #交大
|
||||||
"https://cache.nixos.org/"
|
"https://cache.nixos.org/"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||||
programs.zsh.enable = true; # default shell on catalina
|
programs.zsh.enable = true; # default shell on catalina
|
||||||
# programs.fish.enable = true;
|
# programs.fish.enable = true;
|
||||||
|
|
||||||
# Used for backwards compatibility, please read the changelog before changing.
|
# Used for backwards compatibility, please read the changelog before changing.
|
||||||
|
7
home.nix
7
home.nix
@ -1,4 +1,4 @@
|
|||||||
{pkgs, config, ...}: {
|
{ pkgs, config, ... }: {
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
homeDirectory = "/Users/tonychyi";
|
homeDirectory = "/Users/tonychyi";
|
||||||
@ -17,7 +17,8 @@
|
|||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
arduino-cli
|
arduino-cli
|
||||||
obs-studio
|
qemu
|
||||||
|
#obs-studio
|
||||||
];
|
];
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
@ -27,7 +28,7 @@
|
|||||||
pip = "pip3";
|
pip = "pip3";
|
||||||
ls = "ls --color=auto";
|
ls = "ls --color=auto";
|
||||||
cat = "bat -p --paging=never -u";
|
cat = "bat -p --paging=never -u";
|
||||||
diff="icdiff";
|
diff = "icdiff";
|
||||||
};
|
};
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
Reference in New Issue
Block a user