From 4769ad4ee715d900ed525968e8c4ce014870c8b6 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 13 Jul 2023 12:58:46 +0200 Subject: [PATCH] I think this fixes the server --- hosts/chmura/configuration.nix | 14 +++++++++++--- hosts/niksos/configuration.nix | 4 ---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/hosts/chmura/configuration.nix b/hosts/chmura/configuration.nix index 0839aad0..e979c53a 100644 --- a/hosts/chmura/configuration.nix +++ b/hosts/chmura/configuration.nix @@ -24,16 +24,24 @@ programs.zsh.enable = true; - users.users.jacek = { + users.users.chmura = { isNormalUser = true; - extraGroups = ["wheel" "networkmanager"]; + extraGroups = ["wheel"]; shell = pkgs.zsh; + packages = with pkgs; [ + curl + wget + neovim + neofetch + git + wireguard-tools + ]; }; environment = { shells = with pkgs; [zsh]; pathsToLink = [ "/share/zsh" ]; - sessionVariables = rec { + sessionVariables = { EDITOR = "nvim"; }; }; diff --git a/hosts/niksos/configuration.nix b/hosts/niksos/configuration.nix index 42c3747e..cb29d7be 100644 --- a/hosts/niksos/configuration.nix +++ b/hosts/niksos/configuration.nix @@ -17,7 +17,6 @@ in { nixpkgs.config.allowUnfree = true; - # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; @@ -26,9 +25,6 @@ in time.timeZone = "Europe/Warsaw"; - # Enable the X11 windowing system. - # services.xserver.enable = true; - nix.settings = { experimental-features = [ "flakes"