snowflake/hosts/default.nix
notohh cab11efc8b
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
default: enable t480 module for ame
2024-03-31 19:01:08 -04:00

239 lines
5.2 KiB
Nix

inputs: let
system = "x86_64-linux";
sopsModule = inputs.sops-nix.nixosModules.sops;
hmModule = inputs.home-manager.nixosModules.home-manager;
hyprlandModule = inputs.hyprland.homeManagerModules.default;
nix-index-Module = inputs.nix-index-database.hmModules.nix-index;
anyrunModule = inputs.anyrun.homeManagerModules.default;
agsModule = inputs.ags.homeManagerModules.default;
atticModule = inputs.attic.nixosModules.atticd;
nurModule = inputs.nur.nixosModules.nur;
hypridleModule = inputs.hypridle.homeManagerModules.default;
hyprlockModule = inputs.hyprlock.homeManagerModules.default;
t480Module = inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480;
inherit (inputs.nixpkgs.lib) nixosSystem;
in {
tsuki = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./tsuki
sopsModule
hmModule
atticModule
nurModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./tsuki/home.nix
hyprlandModule
nix-index-Module
anyrunModule
agsModule
hypridleModule
hyprlockModule
];
};
};
}
];
};
sakura = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./sakura
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./sakura/home.nix
];
};
};
}
];
};
kariru = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./kariru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./kariru/home.nix
];
};
};
}
];
};
yuki = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./yuki
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./yuki/home.nix
];
};
};
}
];
};
ame = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./ame
sopsModule
hmModule
t480Module
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./ame/home.nix
anyrunModule
agsModule
];
};
};
}
];
};
arashi = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./arashi
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./arashi/home.nix
];
};
};
}
];
};
sora = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./sora
sopsModule
atticModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./sora/home.nix
];
};
};
}
];
};
tsuru = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./tsuru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./tsuru/home.nix
];
};
};
}
];
};
haru = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./haru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./haru/home.nix
];
};
};
}
];
};
kaze = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./kaze
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [
./kaze/home.nix
];
};
};
}
];
};
}