moved zsh and vscode server

This commit is contained in:
Alexander Szczepanski
2021-07-07 01:45:30 +02:00
parent 81402d2685
commit 42da77d6b1
6 changed files with 61 additions and 138 deletions

View File

@ -6,7 +6,6 @@
/etc/nixos/hardware-configuration.nix
../configs/common.nix
../configs/virtualisation.nix
(fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master")
];
# Use the GRUB 2 boot loader.
@ -20,7 +19,6 @@
time.timeZone = "Europe/Berlin";
networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true;
services.vscode-server.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users = {
@ -32,28 +30,6 @@
};
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
ohMyZsh = {
enable = true;
theme = "agnoster";
plugins = [
"cp"
"common-aliases"
"docker "
"systemd"
"wd"
"kubectl"
"git"
];
};
};
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [
docker-compose