initial commit
This commit is contained in:
commit
95085a0d24
16 changed files with 294 additions and 0 deletions
31
flake.nix
Normal file
31
flake.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
description = "Mon homelab";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
|
||||
nixosConfigurations = {
|
||||
hyponix = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = inputs;
|
||||
modules = [
|
||||
./hosts/physique/hyponix
|
||||
./modules
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
devShells.x86_64-linux.default =
|
||||
let pkgs = import nixpkgs { inherit system; };
|
||||
in pkgs.callPackage ./tools/devshell.nix { };
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue