summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2024-12-31 14:00:49 +0000
committerGrisha Shipunov2024-12-31 14:00:49 +0000
commit5a8230e68eea9d6eded2db2c7e1618f41530d221 (patch)
tree90d47983fbe56eabe0fffcce09653e514a7c2e2c /flake.nix
parentdb1746d864f17bb1e0364f32c051d1f0e5c25056 (diff)
Revert "retire toaster, refactor a bit"
This reverts commit 5b47cc39c1d94d52a791e681fa3152754b9818cd.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix26
1 files changed, 25 insertions, 1 deletions
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; };