From b60786f9b5ba1801a2d2af48d351cba1ef864135 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 11 Sep 2024 23:30:19 +0200 Subject: [PATCH] feat: add cosmic to flake --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/flake.nix b/flake.nix index 528cc0e..6c95aa2 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,11 @@ url = "github:ryantm/agenix"; }; + cosmic = { + url = "github:lilyinstarlight/nixos-cosmic"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; outputs = { self, nixpkgs, nix-colors, automapaper, disko, hyprland, lazy, ... }@inputs: @@ -64,8 +69,15 @@ inherit automapaper; }; modules = [ + { + nix.settings = { + substituters = [ "https://cosmic.cachix.org/" ]; + trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ]; + }; + } ./hosts/lambdaos/configuration.nix inputs.home-manager.nixosModules.default + inputs.cosmic.nixosModules.default inputs.agenix.nixosModules.default ]; };