From 5a8230e68eea9d6eded2db2c7e1618f41530d221 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Tue, 31 Dec 2024 14:00:49 +0000 Subject: Revert "retire toaster, refactor a bit" This reverts commit 5b47cc39c1d94d52a791e681fa3152754b9818cd. --- flake.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index b172d00..28e9025 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,7 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; flake-utils.url = "github:numtide/flake-utils"; @@ -28,6 +29,7 @@ , flake-utils , microvm , nixpkgs + , nixpkgs-unstable , sops-nix , ... }: @@ -49,6 +51,28 @@ }; nixosConfigurations = { + toaster = nixpkgs-unstable.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + sops-nix.nixosModules.sops + lanzaboote.nixosModules.lanzaboote + + ./hosts/toaster + + ./modules/basic-tools + ./modules/binary-caches.nix + ./modules/devtools.nix + ./modules/sway.nix + ./modules/gnupg.nix + ./modules/mail + ./modules/radio.nix + ./modules/science.nix + ./modules/tlp.nix + ./modules/virtualization.nix + ]; + }; + cirrus = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; -- cgit v1.3.1