Compare commits

...

3 Commits

Author SHA1 Message Date
Giulio De Pasquale
5b962cde64 Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos 2023-02-19 02:47:51 +01:00
Giulio De Pasquale
1ff83d84c7 Added this flake to hosts registry in mkHost 2023-02-19 02:47:42 +01:00
Giulio De Pasquale
b44084028f flake: Added description to basicShell template 2023-02-19 02:41:37 +01:00
2 changed files with 6 additions and 2 deletions

View File

@ -6,9 +6,10 @@
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
pepe.url = "git+https://git.giugl.io/peperunas/nixos";
};
outputs = { self, nixpkgs, nixos-unstable, home-manager }:
outputs = { self, nixpkgs, nixos-unstable, home-manager, pepe }:
let
sysLinuxX64 = "x86_64-linux";
sysDarwin = "aarch64-darwin";
@ -38,7 +39,7 @@
inherit (pkgs) newScope;
in
makeScope newScope (self: rec {
inherit nixpkgs home-manager nixos-unstable;
inherit nixpkgs home-manager nixos-unstable pepe;
inherit (self.callPackage ./lib/utils.nix { }) mkSysRole mkHomeRole;
inherit (user) mkUser;
@ -97,6 +98,7 @@
defaultTemplate = self.templates.basicShell;
templates = {
basicShell.path = ./templates/basicShell;
description = "A barebone shell with custom defined packages";
};
};
}

View File

@ -3,6 +3,7 @@
, nixos-unstable
, unstablePkgs
, home-manager
, pepe
, system
, mkHomeRole
, mkSysRole
@ -43,6 +44,7 @@
registry = {
nixpkgs.flake = nixpkgs;
unstable.flake = nixos-unstable;
pepe.flake = pepe;
};
};