Files
dotfiles/nixos/tsuba/default.nix
uttarayan21 99b4fb3ad1
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
chore(flake): update nixpkgs and stylix to 25.11, update dependencies and disable stylix for tsuba
2026-01-04 08:52:09 +05:30

61 lines
1.7 KiB
Nix

{
devices,
inputs,
overlays,
home-manager-stable,
nur,
nixos-raspberrypi,
...
}: (builtins.mapAttrs (
name: device:
nixos-raspberrypi.lib.nixosSystem {
specialArgs =
inputs
// {
inherit device;
unstablePkgs = inputs.nixpkgs.legacyPackages.${device.system};
masterPkgs = inputs.nixpkgs-master.legacyPackages.${device.system};
};
system = device.system;
modules = [
inputs.arion.nixosModules.arion
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops
# inputs.stylix-stable.nixosModules.stylix
inputs.nix-minecraft.nixosModules.minecraft-servers
nur.modules.nixos.default
home-manager-stable.nixosModules.home-manager
{
nixpkgs.overlays = overlays;
imports = with nixos-raspberrypi.nixosModules; [
raspberry-pi-5.base
raspberry-pi-5.display-vc4
raspberry-pi-5.bluetooth
];
home-manager = {
backupFileExtension = "bak";
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs;
inherit device;
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
};
users.${device.user}.imports = [
inputs.nixvim.homeModules.nixvim
../../home
];
};
}
./configuration.nix
./services
./programs
./disk-config.nix
./${name}.nix
../../sops.nix
# ../../stylix.nix
];
}
)
devices)