From 97ec5407863310c44a12d6cf375c5903bc0786e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 23 Mar 2022 12:44:29 +0100 Subject: [PATCH] :bug: fix adding configs --- flake.nix | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/flake.nix b/flake.nix index e3ca5fd..e8a38ce 100644 --- a/flake.nix +++ b/flake.nix @@ -75,27 +75,11 @@ agenix.nixosModules.age ]; - hosts.nixos-laptop.modules = [ - ./hosts/nixos-laptop - { - age.secrets.email = { - file = ./secrets/email-laptop.age; - owner = "1000"; - }; - } - ]; + hosts.nixos-laptop.modules = + [ ./hosts/nixos-laptop ./config/nixos-laptop.nix ]; - hosts.nixos-desktop.modules = [ - { - age.secrets.email = { - file = ./secrets/email-desktop.age; - owner = "1000"; - }; - } - ./hosts/nixos-desktop - self.nixosModules.containers - self.nixosModules.gaming - ]; + hosts.nixos-desktop.modules = + [ ./hosts/nixos-desktop ./config/nixos-desktop.nix ]; ############### ### Outputs ###