treewide: initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
inputs,
|
||||
self,
|
||||
withSystem,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mkSystem =
|
||||
name: system:
|
||||
withSystem system (
|
||||
{ inputs', self', ... }:
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
inputs'
|
||||
self
|
||||
self'
|
||||
;
|
||||
};
|
||||
|
||||
modules = [
|
||||
"${self}/nixos/common.nix"
|
||||
"${self}/nixos/hosts/${name}"
|
||||
{ host = { inherit name; }; }
|
||||
];
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations = {
|
||||
tuxcord-ca = mkSystem "tuxcord-ca" "x86_64-linux";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user