Skip to content

Commit

Permalink
add file nixos config
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhou committed Mar 12, 2024
1 parent 534339f commit 265253b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions oye.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ lib, config, pkgs, ... }:
with lib;
{
time.timeZone = "Asia/Shanghai";
nix.settings.substituters = [ "https://mirrors.cernet.edu.cn/nix-channels/store" ];
documentation.enable = true;
documentation.nixos.enable = true;
environment.noXlibs = false;
environment.systemPackages = with pkgs; [
vim
axel
wget
git
cloc
tree
bat
redis
nginx
docker
nodePackages_latest.nodejs
pm2
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;
users.users.sdhou = {
isNormalUser = true;
extraGroups = [
"docker"
];
};
}

0 comments on commit 265253b

Please sign in to comment.