From 340db495d2b5fdbd2882d8a70272f2f6b318f241 Mon Sep 17 00:00:00 2001 From: Alexandre1a Date: Thu, 1 Jan 2026 20:08:48 +0100 Subject: [PATCH] Fixed a typo --- hosts/macos/configuration.nix | 44 ++++++++++++++++++---------------- hosts/nixos/configuration.nix | 6 +++-- modules/home-manager/shell.nix | 2 +- 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/hosts/macos/configuration.nix b/hosts/macos/configuration.nix index 62c9103..bdb85eb 100644 --- a/hosts/macos/configuration.nix +++ b/hosts/macos/configuration.nix @@ -10,27 +10,29 @@ ]; # All System packages - environment.systemPackages = with pkgs; - [ - # Basic text editing for all users - neovim - vim - # General tools - btop - eza - fastfetch - ffmpeg - fzf - git - git-lfs - gnupg - wget - tree - netcat - tmux - #telnet - - ]; + environment = { + systemPackages = with pkgs; + [ + # Basic text editing for all users + neovim + vim + # General tools + btop + eza + fastfetch + ffmpeg + fzf + git + git-lfs + gnupg + wget + tree + netcat + tmux + #telnet + ]; + pathsToLink = [ "/share/zsh" ]; + }; # Create the user users.users.alex = { description = "Alexandre Delcamp--Enache"; diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index 5d9326e..6d83102 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -79,8 +79,10 @@ programs.hyprland.enable = true; # Hint Electron Apps to use Wayland - environment.sessionVariables.NIXOS_OZONE_WL = "1"; - + environment = { + sessionVariables.NIXOS_OZONE_WL = "1"; + pathsToLink = [ "/share/zsh" ]; + }; # Allow unfree packages nixpkgs.config.allowUnfree = true; diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 1f712d2..261c561 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -4,7 +4,7 @@ programs.zsh = { enable = true; package = pkgs.zsh; - enableCompletions = true; + enableCompletion = true; autocd = true; loginExtra = "echo Hello World!";