.
This commit is contained in:
parent
b183b789b4
commit
a22dfad11d
3 changed files with 9 additions and 8 deletions
|
@ -11,7 +11,7 @@ in
|
|||
inputs.stylix.nixosModules.stylix
|
||||
(mkAliasOptionModule ["hm"] ["home-manager" "users" config.user.name])
|
||||
]
|
||||
++ (mapModulesRec' (toString ./modules) import);
|
||||
++ (mapModulesRec' (toString ./modules) import);
|
||||
|
||||
environments.variables = {
|
||||
KAAS = config.kaas.dir;
|
||||
|
|
15
flake.nix
15
flake.nix
|
@ -13,19 +13,19 @@
|
|||
stylix.url = "github:danth/stylix";
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }: let
|
||||
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }:
|
||||
let
|
||||
inherit (lib.my) mapModules mapModulesRec mapHosts;
|
||||
|
||||
system = "x84_64-linux";
|
||||
system = "x86_64-linux";
|
||||
|
||||
mkPkgs = pkgs: extraOverlays:
|
||||
mkPkgs = pkgs:
|
||||
import pkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
overlays = extraOverlays;
|
||||
};
|
||||
pkgs = mkPkgs nixpkgs [];
|
||||
pkgs-unstable = mkPkgs nixpkgs-unstable [];
|
||||
pkgs = mkPkgs nixpkgs;
|
||||
pkgs-unstable = mkPkgs nixpkgs-unstable;
|
||||
|
||||
lib = nixpkgs.lib.extend (final: prev: {
|
||||
my = import ./lib {
|
||||
|
@ -34,7 +34,8 @@
|
|||
lib = final;
|
||||
};
|
||||
});
|
||||
in {
|
||||
in
|
||||
{
|
||||
lib = lib.my;
|
||||
|
||||
packages."${system}" = mapModules ./packages (p: pkgs.callPackage p {});
|
||||
|
|
0
packages/default.nix
Normal file
0
packages/default.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue