From d3015fdbdae7c95a7425c5ab50b101c4d4a14cba Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Mon, 9 Jan 2023 18:23:59 +0100 Subject: prepare for toaster --- flake.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 079be35..c85d967 100644 --- a/flake.nix +++ b/flake.nix @@ -1,23 +1,23 @@ { inputs = { - nixpkgs-unstable.url = github:NixOS/nixpkgs/nixos-unstable; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; - nixpkgs.url = github:NixOS/nixpkgs/nixos-22.11; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; - flake-utils.url = github:numtide/flake-utils; + flake-utils.url = "github:numtide/flake-utils"; sops-nix = { - url = github:Mic92/sops-nix; + url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; microvm = { - url = github:astro/microvm.nix; + url = "github:astro/microvm.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; fenix = { - url = github:nix-community/fenix; + url = "github:nix-community/fenix"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; }; @@ -49,6 +49,14 @@ slick; }; nixosConfigurations = { + toaster = nixpkgs-unstable.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + ./hosts/toaster + ]; + }; + microwave = nixpkgs-unstable.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; @@ -69,6 +77,7 @@ ./modules/virtualization.nix ]; }; + cirrus = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; @@ -78,6 +87,7 @@ ./modules/basic-tools.nix ]; }; + dishwasher = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; @@ -96,6 +106,7 @@ } ]; }; + nextcloud = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; -- cgit v1.3.1