snowflake/hosts/default.nix

203 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;
2024-05-02 03:12:58 -04:00
diskoModule = inputs.disko.nixosModules.default;
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";
};
};
}
];
};
2024-04-17 14:53:48 -04:00
ame = nixosSystem {
inherit specialArgs;
modules = [
2024-04-17 14:53:48 -04:00
./ame
sopsModule
hmModule
2024-04-17 14:53:48 -04:00
t480Module
2024-05-02 03:12:58 -04:00
diskoModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
2024-04-17 14:53:48 -04:00
imports = homeImports."notoh@ame";
};
};
}
];
};
2024-04-17 14:53:48 -04:00
sakura = nixosSystem {
inherit specialArgs;
modules = [
2024-04-17 14:53:48 -04:00
./sakura
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-05-17 10:13:01 -04:00
};
}
];
};
2024-04-17 14:53:48 -04:00
kariru = nixosSystem {
inherit specialArgs;
modules = [
2024-04-17 14:53:48 -04:00
./kariru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
imports = homeImports."default";
};
2023-06-03 22:53:57 -04:00
};
}
];
};
2024-04-17 14:53:48 -04:00
yuki = nixosSystem {
inherit specialArgs;
modules = [
2024-04-17 14:53:48 -04:00
./yuki
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.notoh = {
2024-04-17 14:53:48 -04:00
imports = homeImports."default";
};
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
};
}