about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-10 18:13:41 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-10 18:13:41 -0800
commitcb788261448f0cc1aff6bf6505f5b6bcd7a17531 (patch)
tree5faa1b442d33ffaefaf3654843f0408c9bfb7210 /flake.nix
parenthome-manager: split the configuration (diff)
downloadworld-cb788261448f0cc1aff6bf6505f5b6bcd7a17531.tar.gz
nix: fix a bunch of stuff
Diffstat (limited to '')
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index e792668..bd68281 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,9 +1,12 @@
 {
   description = "personal NixOS configurations";
+
   inputs = {
     # Nixpkgs, NixOS's official repo
     nixpkgs.url = "github:nixos/nixpkgs/release-21.11";
 
+    utils.url = "github:numtide/flake-utils";
+
     # We use the unstable nixpkgs repo for some packages.
     nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
 
@@ -18,7 +21,7 @@
   outputs = { ... }@inputs:
     let
       lib = import ./lib { inherit inputs; };
-    in: {
+    in {
       nixosConfigurations = {
         carmel = lib.mkSystem {
           hostname = "carmel";
@@ -37,7 +40,7 @@
       };
     } // inputs.utils.lib.eachDefaultSystem (system:
       let
-        pkgs = import inputs.nixpkgs { inherit system overlays; };
+        pkgs = import inputs.nixpkgs { inherit system; };
         home-manager = inputs.home-manager.defaultPackage."${system}";
       in
       {