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

@ -112,28 +112,6 @@ in
# Enable sound.
sound.enable = true;
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"
];
};
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;

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 systemd-boot EFI boot loader.
@ -21,33 +20,6 @@
networking.useDHCP = false;
networking.interfaces.enp3s0.useDHCP = true;
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
ohMyZsh = {
enable = true;
theme = "agnoster";
customPkgs = [
pkgs.zsh-autosuggestions
pkgs.zsh-syntax-highlighting
pkgs.zsh-powerlevel10k
];
plugins = [
"cp"
"common-aliases"
"docker "
"systemd"
"wd"
"kubectl"
"git"
];
};
};
# Define a user account. Don't forget to set a password with passwd.
users = {
defaultUserShell = pkgs.zsh;
@ -146,10 +118,6 @@
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.vscode-server.enable = true;
services.openssh.enable = true;
services.netdata.enable = true;

View File

@ -164,30 +164,6 @@ in
];
};
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"
# "zsh-autosuggestions"
# "zsh-syntax-highlightin"
"git"
];
};
};
environment.systemPackages = with pkgs; [
nvidia-offload
xorg.xf86videointel

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