Skip to content

Commit

Permalink
up nixos conf
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhou committed Mar 14, 2024
1 parent 265253b commit 09427be
Showing 1 changed file with 41 additions and 16 deletions.
57 changes: 41 additions & 16 deletions oye.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,65 @@
with lib;
{
time.timeZone = "Asia/Shanghai";
i18n.defaultLocale = "zh_CN.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "zh_CN.UTF-8";
LC_IDENTIFICATION = "zh_CN.UTF-8";
LC_MEASUREMENT = "zh_CN.UTF-8";
LC_MONETARY = "zh_CN.UTF-8";
LC_NAME = "zh_CN.UTF-8";
LC_NUMERIC = "zh_CN.UTF-8";
LC_PAPER = "zh_CN.UTF-8";
LC_TELEPHONE = "zh_CN.UTF-8";
LC_TIME = "zh_CN.UTF-8";
};
networking.firewall.enable = false;
services.openssh.enable = true;
nix.settings.substituters = [ "https://mirrors.cernet.edu.cn/nix-channels/store" ];
documentation.enable = true;
documentation.nixos.enable = true;
#security.sudo.extraRules= [
# { users = [ "sdhou" ];
# commands = [
# { command = "ALL";
# options= [ "NOPASSWD" ];
# }
# ];
# }
#];
environment.noXlibs = false;
environment.systemPackages = with pkgs; [
vim
axel
wget
git
cloc
tree
bat
redis
nginx
cloc
docker
go
git
htop
jdk
jq
mariadb
minio
mycli
maven
nginx
nodePackages_latest.nodejs
nodePackages.pnpm
pm2
vim
wget
tree
unzip
redis
yarn
nodePackages.pnpm
jdk
maven
go
rclone
wrk
tig
#telnet
mariadb
minio
mycli
jq
];
services.redis.servers."".enable = true;
system.stateVersion = "23.11";
virtualisation.docker.enable = true;
virtualisation.docker.enableOnBoot = true;
users.users.sdhou = {
isNormalUser = true;
extraGroups = [
Expand Down

0 comments on commit 09427be

Please sign in to comment.