mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
Merged utils with lib
This commit is contained in:
parent
35817544b1
commit
9889a415df
3 changed files with 9 additions and 45 deletions
|
@ -1,5 +1,6 @@
|
|||
{ nixpkgs, home-manager, sops-nix, nixpkgs-unstable, inputs }:
|
||||
with builtins;
|
||||
inputs: final: prev:
|
||||
|
||||
with builtins; with inputs;
|
||||
|
||||
let
|
||||
overlay-unstable = final: prev: {
|
||||
|
@ -14,7 +15,7 @@ in
|
|||
inherit inputs;
|
||||
};
|
||||
modules = builtins.attrValues modules ++ [
|
||||
./base.nix
|
||||
../base.nix
|
||||
sops-nix.nixosModules.sops
|
||||
host-config
|
||||
home-manager.nixosModules.home-manager
|
||||
|
@ -25,8 +26,8 @@ in
|
|||
overlay-unstable
|
||||
(final: prev:
|
||||
{
|
||||
tinystatus = prev.pkgs.callPackage ./packages/tinystatus {};
|
||||
mosh = prev.pkgs.callPackage ./packages/mosh {};
|
||||
tinystatus = prev.pkgs.callPackage ../packages/tinystatus {};
|
||||
mosh = prev.pkgs.callPackage ../packages/mosh {};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
@ -36,3 +37,4 @@ in
|
|||
importConfig = with builtins; path: (mapAttrs (name: value: import (path + "/${name}/default.nix")) (readDir path));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue