fruitbasket/flake.nix

65 lines
1.8 KiB
Nix
Raw Normal View History

2022-03-04 16:40:11 +01:00
{
inputs = {
2022-08-16 14:20:36 +02:00
nixpkgs.url = github:NixOS/nixpkgs/nixos-22.05;
2022-03-04 16:40:11 +01:00
sops-nix.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
2022-04-10 13:59:39 +02:00
fsr-infoscreen.url = github:fsr/infoscreen;
2022-03-04 16:40:11 +01:00
};
2022-04-10 13:59:39 +02:00
outputs = { self, nixpkgs, sops-nix, fsr-infoscreen, ... }@inputs:
let
in {
2022-08-16 15:18:28 +02:00
#packages."aarch64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage;
#packages."x86_64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage;
2022-04-19 16:39:09 +02:00
2022-04-10 13:59:39 +02:00
nixosConfigurations = {
2022-08-16 15:18:28 +02:00
/*birne = nixpkgs.lib.nixosSystem {
2022-04-10 13:59:39 +02:00
system = "x86_64-linux";
modules = [
./hosts/birne/configuration.nix
./modules/base.nix
./modules/autoupdate.nix
./modules/desktop.nix
./modules/printing.nix
./modules/wifi.nix
2022-04-19 16:39:09 +02:00
./modules/options.nix
{
fsr.enable_office_bloat = true;
}
2022-04-10 13:59:39 +02:00
];
};
sanddorn = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
{
nixpkgs.overlays = [ fsr-infoscreen.overlay."aarch64-linux"];
nixpkgs.config.allowBroken = true;
sdImage.compressImage = false;
}
./hosts/sanddorn/configuration.nix
./modules/infoscreen.nix
./modules/base.nix
./modules/autoupdate.nix
./modules/wifi.nix
./modules/desktop.nix
2022-04-19 16:39:09 +02:00
./modules/options.nix
2022-04-10 13:59:39 +02:00
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
2022-04-19 16:39:09 +02:00
{
fsr.enable_office_bloat = false;
}
2022-04-10 13:59:39 +02:00
];
};
2022-08-16 15:18:28 +02:00
*/
2022-08-16 14:20:36 +02:00
durian = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/durian/configuration.nix
./modules/base.nix
];
};
2022-03-04 16:40:11 +01:00
};
};
}