mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 09:28:13 +08:00
make hermetic
This commit is contained in:
parent
21f16a6247
commit
0cdd344969
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@
|
|||
inputs.flake-parts.lib.mkFlake { inherit (inputs) self; } {
|
||||
systems = [ "x86_64-linux" "aarch64-darwin" ];
|
||||
imports = [ ];
|
||||
perSystem = { self', inputs', config, pkgs, system, ... }: {
|
||||
perSystem = { self', inputs', config, pkgs, lib, system, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
''
|
||||
else
|
||||
bashCmdApp "linux" ''
|
||||
nixos-rebuild --use-remote-sudo switch -j auto
|
||||
${lib.getExe pkgs.nixos-rebuild} --use-remote-sudo switch -j auto
|
||||
'';
|
||||
};
|
||||
flake =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue