summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix60
1 files changed, 60 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..3c17abc
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,60 @@
+{
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
+ unstable.url = "github:nixos/nixpkgs/nixos-unstable";
+
+ home-manager = {
+ url = "github:nix-community/home-manager/release-25.05";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
+ nur.url = "github:nix-community/NUR";
+ impermanence.url = "github:nix-community/impermanence";
+ hm-isolation.url = "github:3442/hm-isolation";
+
+ nixvirt = {
+ url = "github:AshleyYakeley/NixVirt";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
+ flake-utils.url = "github:numtide/flake-utils";
+
+ lanzaboote = {
+ url = "github:nix-community/lanzaboote";
+
+ inputs = {
+ nixpkgs.follows = "nixpkgs";
+ pre-commit-hooks-nix.follows = "";
+ };
+ };
+
+ trivionomicon = {
+ url = "./trivionomicon";
+ inputs = {
+ flake-utils.follows = "flake-utils";
+ nixpkgs.follows = "nixpkgs";
+ };
+ };
+
+ vpsadminos.url = "github:vpsfreecz/vpsadminos";
+ };
+
+ outputs = flakes:
+ flakes.trivionomicon.lib.mkSystemFlake {
+ inherit flakes;
+
+ system = "x86_64-linux";
+ doctrinePrefix = "local";
+
+ paths = {
+ localOverlay = "pkgs";
+ nixpkgsConfig = "pkgs/config";
+
+ nixosSource = "sys";
+ nixosPlatforms = "sys/platform";
+
+ hmSource = "home";
+ hmPlatforms = "home/platform";
+ };
+ };
+}