I think this fixes the server

This commit is contained in:
jacekpoz 2023-07-13 12:58:46 +02:00
parent 5f5a985efe
commit 4769ad4ee7
2 changed files with 11 additions and 7 deletions

View file

@ -24,16 +24,24 @@
programs.zsh.enable = true; programs.zsh.enable = true;
users.users.jacek = { users.users.chmura = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["wheel" "networkmanager"]; extraGroups = ["wheel"];
shell = pkgs.zsh; shell = pkgs.zsh;
packages = with pkgs; [
curl
wget
neovim
neofetch
git
wireguard-tools
];
}; };
environment = { environment = {
shells = with pkgs; [zsh]; shells = with pkgs; [zsh];
pathsToLink = [ "/share/zsh" ]; pathsToLink = [ "/share/zsh" ];
sessionVariables = rec { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
}; };
}; };

View file

@ -17,7 +17,6 @@ in
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";
@ -26,9 +25,6 @@ in
time.timeZone = "Europe/Warsaw"; time.timeZone = "Europe/Warsaw";
# Enable the X11 windowing system.
# services.xserver.enable = true;
nix.settings = { nix.settings = {
experimental-features = [ experimental-features = [
"flakes" "flakes"