summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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