(refactor): preparing new hosts

This commit is contained in:
chloe 2024-08-16 16:42:55 +02:00
parent 35684609f3
commit f20bcf41e9
15 changed files with 177 additions and 398 deletions

View file

@ -3,16 +3,39 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
sops-nix.url = "github:Mic92/sops-nix";
};
outputs =
{ self, nixpkgs, ... }@inputs:
{
nixosConfigurations.sisyphe = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
];
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
];
};
};
};
}