snowflake/hosts/default.nix

98 lines
2 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;
2023-06-06 18:21:15 -04:00
ironbarModule = inputs.ironbar.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
2023-06-06 18:21:15 -04:00
ironbarModule
];
};
};
}
];
};
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
];
};
};
}
];
};
2023-05-17 10:13:01 -04:00
kariru = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./kariru
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
imports = [
./kariru/home.nix
];
};
};
}
];
};
2023-06-03 22:53:57 -04:00
yuki = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
2023-06-03 23:04:36 -04:00
./yuki
2023-06-03 22:53:57 -04:00
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
imports = [
./yuki/home.nix
];
};
};
}
];
};
}