snowflake/hosts/default.nix
2023-05-16 21:11:48 -04:00

74 lines
1.6 KiB
Nix

inputs: let
system = "x86_64-linux";
sopsModule = inputs.sops-nix.nixosModules.sops;
hmModule = inputs.home-manager.nixosModules.home-manager;
diskoModule = inputs.disko.nixosModules.disko;
hyprlandModule = inputs.hyprland.homeManagerModules.default;
inherit (inputs.nixpkgs.lib) nixosSystem;
in {
tsuki = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./tsuki
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./tsuki/home.nix
hyprlandModule
];
};
};
}
];
};
sutakku = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./sutakku
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.oh = {
imports = [
./sutakku/home.nix
];
};
};
}
];
};
sakura = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./sakura
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
imports = [
./sakura/home.nix
];
};
};
}
];
};
}