feat: Change nix formatter to alejandra
This commit is contained in:
parent
0b8b647f05
commit
b4c3dfec42
229 changed files with 2528 additions and 2884 deletions
|
|
@ -4,39 +4,35 @@
|
|||
self,
|
||||
rootPath,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
inherit (self) outputs;
|
||||
in
|
||||
{
|
||||
in {
|
||||
flake = {
|
||||
nixosModules = {
|
||||
default = import (rootPath + "/nixos/modules/top-level");
|
||||
gui = import (rootPath + "/nixos/modules/top-level/gui.nix");
|
||||
};
|
||||
nixosConfigurations =
|
||||
let
|
||||
makeNixosConfiguration =
|
||||
hostName:
|
||||
lib.nixosSystem {
|
||||
modules = [ (rootPath + "/nixos/configurations/${hostName}") ];
|
||||
specialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
outputs
|
||||
rootPath
|
||||
lib
|
||||
;
|
||||
};
|
||||
nixosConfigurations = let
|
||||
makeNixosConfiguration = hostName:
|
||||
lib.nixosSystem {
|
||||
modules = [(rootPath + "/nixos/configurations/${hostName}")];
|
||||
specialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
outputs
|
||||
rootPath
|
||||
lib
|
||||
;
|
||||
};
|
||||
in
|
||||
};
|
||||
in
|
||||
with lib;
|
||||
pipe
|
||||
pipe
|
||||
[
|
||||
"Tytonidae"
|
||||
"Cape"
|
||||
"Akun"
|
||||
]
|
||||
[ (flip genAttrs makeNixosConfiguration) ];
|
||||
[(flip genAttrs makeNixosConfiguration)];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue