mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-23 06:43:57 +01:00
42 lines
789 B
Nix
42 lines
789 B
Nix
{
|
|
description = "the silliest NixOS config!";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
sops-nix,
|
|
...
|
|
}@inputs:
|
|
let
|
|
username = "harry123";
|
|
|
|
specialArgs = {
|
|
inherit username;
|
|
};
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
sisyphe = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/sisyphe/configuration.nix
|
|
sops-nix.nixosModules.sops
|
|
];
|
|
};
|
|
|
|
labouse = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/labouse/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|