Browse Source

Move import

main
parent
commit
b1d30cce24
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 9
      README.org
  2. 3
      flake.nix

9
README.org

@ -127,9 +127,8 @@ RUN nix-shell /etc/dotfiles/shell.nix
nixosConfigurations = {
<<host-default>>
};
} // inputs.flake-utils.lib.eachDefaultSystem (system:
} //
<<development-shells>>
);
}
#+END_SRC
@ -189,9 +188,10 @@ The command ~nix develop~ will run a bash shell that provides the build environm
#+NAME: development-shells
#+BEGIN_SRC nix
let
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
in
rec {
devShells = {
default = import ./shell.nix { inherit pkgs; };
@ -206,6 +206,7 @@ in
rust = import ./shells/rust.nix { inherit pkgs; };
};
}
);
#+END_SRC
** Nix

3
flake.nix

@ -42,7 +42,8 @@
];
};
};
} // inputs.flake-utils.lib.eachDefaultSystem (system:
} //
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in

Loading…
Cancel
Save