flake: nix flake is broken, use pkgs.nixFlakes
This commit is contained in:
parent
b94a880a69
commit
2bad76157e
|
@ -1,4 +1,4 @@
|
|||
{ home, nix, nixpkgs, flake, ... }:
|
||||
{ home, nixpkgs, flake, ... }:
|
||||
let
|
||||
utils = import ../lib/utils.nix { lib = nixpkgs.lib; };
|
||||
|
||||
|
@ -17,7 +17,6 @@ let
|
|||
|
||||
global = {
|
||||
networking.hostName = self;
|
||||
nix.package = nix.defaultPackage."${system}";
|
||||
nix.nixPath = [
|
||||
"nixpkgs=${nixpkgs}"
|
||||
"nixos-config=/etc/nixos/configuration.nix"
|
||||
|
|
13
flake.lock
13
flake.lock
|
@ -13,19 +13,6 @@
|
|||
"originalUrl": "github:nrdxp/home-manager/flakes",
|
||||
"url": "github:nrdxp/home-manager/4aed75b903140a3e7f5ccc4528f1748391543475"
|
||||
},
|
||||
"nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": {
|
||||
"inputs": {},
|
||||
"narHash": "sha256-ZzR2l1dovxeZ555KXxz7SAXrC72BfaR4BeqvJzRdmwQ=",
|
||||
"originalUrl": "nixpkgs/release-19.09",
|
||||
"url": "github:edolstra/nixpkgs/d37927a77e70a2b3408ceaa2e763b6df1f4d941a"
|
||||
}
|
||||
},
|
||||
"narHash": "sha256-8Y2swdV7/T7jjhGAKVrMRkAn7y4qTSjKNIW7NUe7V5s=",
|
||||
"originalUrl": "nix",
|
||||
"url": "github:NixOS/nix/90d2cf6ff98fc970c9abeae6c37dd323fd0ef953"
|
||||
},
|
||||
"nixpkgs": {
|
||||
"inputs": {},
|
||||
"narHash": "sha256-rw7iL71iTpzgKfXGiRRGDHkbjtpK8N6+Pt0Ur00PphQ=",
|
||||
|
|
|
@ -6,18 +6,17 @@
|
|||
inputs.nixpkgs.url = "github:nrdxp/nixpkgs/fork";
|
||||
inputs.home.url = "github:nrdxp/home-manager/flakes";
|
||||
|
||||
outputs = { self, home, nixpkgs, nix }: {
|
||||
outputs = { self, home, nixpkgs }: {
|
||||
nixosConfigurations =
|
||||
let
|
||||
configs = import ./configurations {
|
||||
inherit nix nixpkgs;
|
||||
inherit nixpkgs;
|
||||
flake = self;
|
||||
home = home.nixosModules.home-manager;
|
||||
};
|
||||
|
||||
in
|
||||
configs;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ let
|
|||
|
||||
in
|
||||
{
|
||||
nix.package = pkgs.nixFlakes;
|
||||
|
||||
imports = [
|
||||
../local/locale.nix
|
||||
|
|
Loading…
Reference in a new issue