snowflake/hosts/default.nix
2023-05-15 06:01:40 -04:00

66 lines
1.5 KiB
Nix

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