snowflake/hosts/default.nix

75 lines
1.6 KiB
Nix
Raw Normal View History

inputs: let
system = "x86_64-linux";
2023-05-16 21:11:48 -04:00
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;
2023-05-14 05:57:15 -04:00
specialArgs = {inherit inputs;};
modules = [
./tsuki
2023-05-16 21:11:48 -04:00
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./tsuki/home.nix
2023-05-16 21:11:48 -04:00
hyprlandModule
];
};
};
}
];
};
sutakku = nixosSystem {
inherit system;
2023-05-16 21:11:48 -04:00
specialArgs = {inherit inputs;};
modules = [
./sutakku
2023-05-16 21:11:48 -04:00
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.oh = {
2023-05-14 05:57:15 -04:00
imports = [
./sutakku/home.nix
];
};
};
}
];
};
sakura = nixosSystem {
inherit system;
2023-05-14 05:57:15 -04:00
specialArgs = {inherit inputs;};
modules = [
./sakura
2023-05-16 21:11:48 -04:00
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
2023-05-14 05:57:15 -04:00
imports = [
./sakura/home.nix
];
};
};
}
];
};
}