From aa6dd437838489021cac2c5df07c11c9f4b918d8 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 17 Feb 2023 09:04:32 -0800 Subject: [PATCH] flake: Added basicShell template --- flake.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index eb71116..52f0054 100644 --- a/flake.nix +++ b/flake.nix @@ -8,8 +8,7 @@ }; }; - outputs = - inputs@{ self, nixpkgs, nixos-unstable, home-manager }: + outputs = { self, nixpkgs, nixos-unstable, home-manager }: let sysLinuxX64 = "x86_64-linux"; sysDarwin = "aarch64-darwin"; @@ -78,6 +77,7 @@ roles = [ "gnome" ]; }; }; + homeConfigurations = { giulioMac = utilsDarwin.user.mkHMUser { name = "giulio"; @@ -93,5 +93,10 @@ }; giulioX64NoSSH = utilsLinuxX64.user.mkHMUser { name = "giulio"; }; }; + + defaultTemplate = self.templates.basicShell; + templates = { + basicShell.path = ./templates/basicShell; + }; }; }