diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-10 18:13:41 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-10 18:13:41 -0800 |
commit | cb788261448f0cc1aff6bf6505f5b6bcd7a17531 (patch) | |
tree | 5faa1b442d33ffaefaf3654843f0408c9bfb7210 /flake.nix | |
parent | home-manager: split the configuration (diff) | |
download | world-cb788261448f0cc1aff6bf6505f5b6bcd7a17531.tar.gz |
nix: fix a bunch of stuff
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 7 |
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 { |