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

3
flake.nix

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

Loading…
Cancel
Save