feat: introduce treefmt and fmt all
This commit is contained in:
parent
80250b0179
commit
27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions
|
@ -3,20 +3,14 @@
|
|||
vmPkgsPath,
|
||||
buildPkgsPath,
|
||||
nixosConfigPath,
|
||||
}: let
|
||||
buildPkgs = import buildPkgsPath {};
|
||||
vmPkgs' = import vmPkgsPath {};
|
||||
vmPkgs =
|
||||
vmPkgs'
|
||||
// {
|
||||
runtimeShell = "${vmPkgs'.bash}/${vmPkgs'.bash.shellPath}";
|
||||
};
|
||||
}:
|
||||
let
|
||||
vmPkgs' = import vmPkgsPath { };
|
||||
vmPkgs = vmPkgs' // {
|
||||
runtimeShell = "${vmPkgs'.bash}/${vmPkgs'.bash.shellPath}";
|
||||
};
|
||||
|
||||
importWithPkgs = {
|
||||
path,
|
||||
pkgs,
|
||||
}: args:
|
||||
import path (args // {inherit pkgs;});
|
||||
importWithPkgs = { path, pkgs }: args: import path (args // { inherit pkgs; });
|
||||
|
||||
nixosConfig = importWithPkgs {
|
||||
path = "${nixosConfigPath}";
|
||||
|
@ -36,8 +30,10 @@
|
|||
modules = [
|
||||
nixosConfig
|
||||
vmConfig
|
||||
{virtualisation.useBootLoader = true;}
|
||||
{ virtualisation.useBootLoader = true; }
|
||||
];
|
||||
})
|
||||
.config;
|
||||
in {vmWithBootLoaderMixed = vmWithBootLoaderConfigMixed.system.build.vm;}
|
||||
}).config;
|
||||
in
|
||||
{
|
||||
vmWithBootLoaderMixed = vmWithBootLoaderConfigMixed.system.build.vm;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue