summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-02-18 11:42:34 +0100
committerAdrian Kummerlaender2020-02-18 11:42:34 +0100
commit3d1c366d72593ca171445e3da337f4c5dfa7f47d (patch)
treea124246c8b8127ae2074421489d29ca04df145cc
parentf8e9b8df7890a8c7a7be83a082c34cd8e1718977 (diff)
downloadnixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar.gz
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar.bz2
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar.lz
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar.xz
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.tar.zst
nixos_system-3d1c366d72593ca171445e3da337f4c5dfa7f47d.zip
Use stable neovim
It is no longer necessary to pull it in from unstable.
-rw-r--r--configuration.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/configuration.nix b/configuration.nix
index 206252f..62cb1ae 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,6 +1,9 @@
{ config, pkgs, ... }:
-{
+let
+ mypkgs = import <mypkgs> { };
+
+in {
system.stateVersion = "18.09";
imports = [
@@ -39,11 +42,7 @@
};
environment = {
- systemPackages = let
- # use latest nvim
- nixpkgs-unstable = import <nixpkgs-unstable> { };
- mypkgs = import <mypkgs> { pkgs = nixpkgs-unstable; };
- in [
+ systemPackages = [
pkgs.psmisc
pkgs.htop
pkgs.git