Files
nixos/flake.nix

44 lines
1.0 KiB
Nix
Raw Normal View History

2025-10-30 18:26:18 +01:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
2025-12-26 14:47:54 +01:00
nix-flatpak.url = "github:gmodena/nix-flatpak";
2026-02-17 20:02:25 +01:00
czkawka-master.url = "path:./common/flakes/czkawka-master";
solaar-master.url = "path:./common/flakes/solaar-master";
fet.url = "path:./common/flakes/fet";
2025-10-30 18:26:18 +01:00
};
2025-12-26 02:35:27 +01:00
outputs =
{
self,
nixpkgs,
nix-flatpak,
...
2026-02-17 20:02:25 +01:00
}@inputs:
let
specialArgs = { inherit (inputs) czkawka-master solaar-master fet; };
in
2025-12-26 02:35:27 +01:00
{
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {
2026-02-17 20:02:25 +01:00
inherit specialArgs;
system = "x86_64-linux";
modules = [
./common
./desktop
nix-flatpak.nixosModules.nix-flatpak
];
};
laptop = nixpkgs.lib.nixosSystem {
inherit specialArgs;
2025-12-26 02:35:27 +01:00
system = "x86_64-linux";
modules = [
2026-02-17 20:02:25 +01:00
./common
./laptop
2025-12-26 02:35:27 +01:00
nix-flatpak.nixosModules.nix-flatpak
];
};
2025-10-30 18:26:18 +01:00
};
};
2025-12-26 02:35:27 +01:00
}