diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..35dd05b --- /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:3442/NixVirt/add-smm-secureboot"; + 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"; + }; + }; +} |
