snowflake/hosts/default.nix

87 lines
1.9 KiB
Nix
Raw Normal View History

inputs: let
system = "x86_64-linux";
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-14 05:57:15 -04:00
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
2023-05-14 05:57:15 -04:00
inputs.hyprland.homeManagerModules.default
];
};
};
}
];
};
hime = nixosSystem {
inherit system;
modules = [
./hime
2023-05-14 05:57:15 -04:00
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
2023-05-14 05:57:15 -04:00
extraSpecialArgs = {inherit inputs;};
users.oh = {
imports = [
./hime/home.nix
];
};
};
}
];
};
sutakku = nixosSystem {
inherit system;
modules = [
./sutakku
2023-05-14 05:57:15 -04:00
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.home-manager
{
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-14 05:57:15 -04:00
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
2023-05-14 05:57:15 -04:00
imports = [
./sakura/home.nix
];
};
};
}
];
};
}