snowflake/hosts/default.nix

201 lines
4.5 KiB
Nix
Raw Normal View History

{
inputs,
homeImports,
...
}: {
flake.nixosConfigurations = let
inherit (inputs.nixpkgs.lib) nixosSystem;
2023-05-14 05:57:15 -04:00
specialArgs = {inherit inputs;};
sopsModule = inputs.sops-nix.nixosModules.sops;
hmModule = inputs.home-manager.nixosModules.home-manager;
atticModule = inputs.attic.nixosModules.atticd;
nurModule = inputs.nur.nixosModules.nur;
t480Module = inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480;
in {
tsuki = nixosSystem {
inherit specialArgs;
modules = [
./tsuki
sopsModule
hmModule
atticModule
nurModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."notoh@tsuki";
};
};
}
];
};
sakura = nixosSystem {
inherit specialArgs;
modules = [
./sakura
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
};
}
];
};
kariru = nixosSystem {
inherit specialArgs;
modules = [
./kariru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-05-17 10:13:01 -04:00
};
}
];
};
yuki = nixosSystem {
inherit specialArgs;
modules = [
./yuki
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-06-03 22:53:57 -04:00
};
}
];
};
ame = nixosSystem {
inherit specialArgs;
modules = [
./ame
sopsModule
hmModule
t480Module
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."notoh@ame";
};
2023-06-10 16:41:06 -04:00
};
}
];
};
arashi = nixosSystem {
inherit specialArgs;
modules = [
./arashi
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-06-18 11:21:06 -04:00
};
}
];
};
sora = nixosSystem {
inherit specialArgs;
modules = [
./sora
sopsModule
atticModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-06-23 09:25:35 -04:00
};
}
];
};
tsuru = nixosSystem {
inherit specialArgs;
modules = [
./tsuru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-10-19 21:23:25 -04:00
};
}
];
};
haru = nixosSystem {
inherit specialArgs;
modules = [
./haru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-11-30 22:27:58 -05:00
};
}
];
};
kaze = nixosSystem {
inherit specialArgs;
modules = [
./kaze
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2024-01-05 11:12:11 -05:00
};
}
];
};
2024-01-05 11:12:11 -05:00
};
}