From 5ea3ff5c9e4b27a2508bd930fa956bbd5aae991a Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sat, 14 Sep 2024 11:19:19 +0100 Subject: [PATCH] fix: install additional packages Installed the following packages: - deno - neovim from the unstable channel. --- configuration.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 86c1fce..4a3d75d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -47,8 +47,14 @@ # Configure console keymap console.keyMap = "uk"; - # Allow unfree packages - nixpkgs.config.allowUnfree = true; + nixpkgs = { + config = { + allowUnfree = true; + packageOverrides = pkgs: { + unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {}; + }; + }; + }; # Enable sound with pipewire. sound.enable = true; @@ -66,6 +72,7 @@ environment = { systemPackages = with pkgs; [ curl + deno distrobox firefox gcc @@ -167,8 +174,8 @@ description = "Dan Anglin"; extraGroups = [ "networkmanager" "wheel" "docker"]; packages = with pkgs; [ - neovim lf + unstable.neovim ]; };