Skip to content

Commit f994613

Browse files
fix: fully qualify references to all inputs
- #7 (comment)
1 parent 5a2bc1f commit f994613

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

flake.nix

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,10 @@
1212
systems.url = "github:nix-systems/default";
1313
};
1414

15-
outputs =
16-
inputs @ { self
17-
, nixpkgs
18-
, home-manager
19-
, flake-parts
20-
, nixos-flake
21-
, systems
22-
, ...
23-
}:
15+
outputs = inputs:
2416
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
2517
# systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
26-
systems = import systems;
18+
systems = import inputs.systems;
2719
imports = [
2820
inputs.nixos-flake.flakeModule
2921
# Edit the contenst of the ./home directory to install packages and modify dotfile configuration in your
@@ -50,10 +42,10 @@
5042
in
5143
{
5244
legacyPackages.homeConfigurations.${myUserName} =
53-
self.nixos-flake.lib.mkHomeConfiguration
45+
inputs.self.nixos-flake.lib.mkHomeConfiguration
5446
pkgs
5547
({ pkgs, ... }: {
56-
imports = [ self.homeModules.default ];
48+
imports = [ inputs.self.homeModules.default ];
5749
home.username = myUserName;
5850
home.homeDirectory = "/${if pkgs.stdenv.isDarwin then "Users" else "home"}/${myUserName}";
5951
home.stateVersion = "22.11";

0 commit comments

Comments
 (0)