added readme
added docker back to all server added pink to docker group
This commit is contained in:
parent
0bd4baf3d1
commit
fd692c151f
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
];
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
enableOnBoot = false;
|
||||
};
|
||||
|
||||
}
|
|
@ -29,7 +29,7 @@
|
|||
users.users.pink = {
|
||||
isNormalUser = true;
|
||||
description = "pink";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
|
|
3
readme.md
Normal file
3
readme.md
Normal 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.
|
11
root.nix
11
root.nix
|
@ -15,6 +15,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.root.home.stateVersion = "23.11";
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
@ -59,4 +60,14 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
# DOCKER
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
];
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
enableOnBoot = false;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue