added readme

added docker back to all server
added pink to docker group
This commit is contained in:
2005 2024-05-29 17:20:27 +02:00
parent 0bd4baf3d1
commit fd692c151f
5 changed files with 15 additions and 50 deletions

View file

@ -1,39 +0,0 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
zip
btop
unzip
neovim
w3m
git
];
programs.zsh.enable = true;
users.users.root.shell = pkgs.zsh;
home-manager.root.pink = {
programs.zsh = {
enable = true;
shellAliases = {
# docker
dc = "docker compose";
dco = "docker container";
dn = "docker network";
dv = "docker volume";
};
loginExtra = ''
PROMPT="[%M] %~ "
'';
antidote = {
enable = true;
plugins = [
"marlonrichert/zsh-autocomplete"
"zsh-users/zsh-syntax-highlighting"
];
};
};
};
}

View file

@ -1,10 +0,0 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
docker-compose
];
virtualisation.docker = {
enable = true;
enableOnBoot = false;
};
}

View file

@ -29,7 +29,7 @@
users.users.pink = { users.users.pink = {
isNormalUser = true; isNormalUser = true;
description = "pink"; description = "pink";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; [ ]; packages = with pkgs; [ ];
}; };

3
readme.md Normal file
View file

@ -0,0 +1,3 @@
# Infrastructure of 4o1x5.dev
Nix configs for all servers in my homelab. Including all services available for public and private use.

View file

@ -15,6 +15,7 @@
}; };
}; };
}; };
home-manager.users.root.home.stateVersion = "23.11"; home-manager.users.root.home.stateVersion = "23.11";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -59,4 +60,14 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
# DOCKER
environment.systemPackages = with pkgs; [
docker-compose
];
virtualisation.docker = {
enable = true;
enableOnBoot = false;
};
} }