Compare commits

...

3 Commits

Author SHA1 Message Date
Giulio De Pasquale
4cc4067510 git: Modified email 2023-02-14 17:35:40 +01:00
Giulio De Pasquale
1c8c86bfa3 lib.host: Use callPackage when calling roles 2023-02-14 17:30:31 +01:00
Giulio De Pasquale
9e67978f6e flake: Inherit scope utilities in wrapUtils 2023-02-14 17:20:55 +01:00
3 changed files with 7 additions and 3 deletions

View File

@ -32,7 +32,11 @@
};
wrapUtils = { pkgs, unstable, system }:
pkgs.lib.makeScope pkgs.newScope (self: {
let
inherit (pkgs.lib) makeScope;
inherit (pkgs) newScope;
in
makeScope newScope (self: {
inherit nixpkgs home-manager nixos-unstable;
user = self.callPackage ./lib/user.nix { };
host = self.callPackage ./lib/host.nix { };

View File

@ -3,7 +3,7 @@
{
mkHost = { name, users, roles ? [ ], imports ? [ ] }:
let
mkRole = role: import (../roles + "/${role}.nix");
mkRole = role: pkgs.callPackage (../roles + "/${role}.nix") { };
users_mod = (map
(u:

View File

@ -2,7 +2,7 @@
programs.git = {
enable = true;
userName = "Giulio De Pasquale";
userEmail = "depasquale+git@giugl.io";
userEmail = "git@depasquale.giugl.io";
extraConfig = {
filter."lfs" = {
process = "git-lfs filter-process";