init flake

This commit is contained in:
Daniel Olsen
2022-06-02 03:32:14 +02:00
parent 3972414281
commit ea4e1c3cc3
3 changed files with 146 additions and 1 deletions

View File

@@ -1,5 +1,18 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, nur, unstable, dan, ... }:
{
nixpkgs.overlays = [
nur.overlay
(final: prev: {
unstable = import unstable {
inherit (prev) system;
config.allowUnfree = true;
};
dan = dan.packages.${prev.system};
})
];
nixpkgs.config.allowUnfreePredicate = (pkg: true);
imports = [ ../profiles ];
machine = {