Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/42d371d861a227149dc9a7e03350c9ab8b8ddd68' (2023-01-09) → 'github:ryantm/agenix/49798e535ebc07fec82256b283d35be36d8c6c9a' (2023-01-29) • Updated input 'home-manager': 'github:nix-community/home-manager/89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706' (2022-12-28) → 'github:nix-community/home-manager/65c47ced082e3353113614f77b1bc18822dc731f' (2023-01-23) • Updated input 'myNixpkgs': 'github:NixOS/nixpkgs/cdead16a444a3e5de7bc9b0af8e198b11bb01804' (2023-01-20) → 'github:NixOS/nixpkgs/f413457e0dd7a42adefdbcea4391dd9751509025' (2023-01-30) • Updated input 'nix-doom-emacs': 'github:nix-community/nix-doom-emacs/cac2195c172b084562f028542cd2332ef6d6f27c' (2023-01-20) → 'github:nix-community/nix-doom-emacs/e92e5b6021b1ad4290e051111010ba51921507cd' (2023-01-27) • Updated input 'nix-doom-emacs/emacs-overlay': 'github:nix-community/emacs-overlay/fa7dedfa5e1171a76ff78a1260064e1b20ec93bb' (2023-01-19) → 'github:nix-community/emacs-overlay/acff9f41c4962704acb8008e5ff5b90a43cf7758' (2023-01-26) • Updated input 'nix-doom-emacs/revealjs': 'github:hakimel/reveal.js/6510916b9f55a8f3110030bcdd1aee1b7fb77b6f' (2023-01-18) → 'github:hakimel/reveal.js/b1a9842b2f4544a2fda546383db38cc7a81f6b74' (2023-01-25) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/7bd6b87b3712e68007823e8dd5c37ee9b114fee3' (2023-01-15) → 'github:NixOS/nixos-hardware/b7ac0a56029e4f9e6743b9993037a5aaafd57103' (2023-01-24)
71 lines
1.5 KiB
Nix
71 lines
1.5 KiB
Nix
# Adapted from Mic92/dotfiles
|
|
{ self
|
|
, flake-utils
|
|
, homePage
|
|
, nixpkgs
|
|
, home-manager
|
|
, nix-doom-emacs
|
|
, nixos-hardware
|
|
, nvd
|
|
, scripts
|
|
, recipemd
|
|
, agenix
|
|
, devshell
|
|
, helix
|
|
, ...
|
|
} @ inputs:
|
|
(flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
selfPkgs = self.packages.${system};
|
|
formatter = self.formatter.${system};
|
|
in
|
|
{
|
|
devShells.default =
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [
|
|
agenix.overlays.default
|
|
devshell.overlay
|
|
];
|
|
};
|
|
extraModules = [ "${devshell}/extra/git/hooks.nix" ];
|
|
in
|
|
import ./devshell.nix { inherit pkgs extraModules; };
|
|
|
|
formatter = nixpkgs.legacyPackages."${system}".nixpkgs-fmt;
|
|
|
|
jobsets = (import ./jobsets.nix {
|
|
inherit pkgs;
|
|
projectName = "nix-config";
|
|
declInput = {
|
|
src = {
|
|
type = "git";
|
|
value = "git://github.com/dadada/nix-config.git main";
|
|
emailresponsible = false;
|
|
};
|
|
nixpkgs = {
|
|
type = "git";
|
|
value = "git://github.com/NixOS/nixpkgs.git nixpkgs-22.05";
|
|
emailresponsible = false;
|
|
};
|
|
};
|
|
});
|
|
|
|
packages = import ./pkgs (inputs // { inherit pkgs; });
|
|
}))
|
|
// {
|
|
|
|
hmModules = import ./home/modules;
|
|
|
|
nixosConfigurations = import ./nixos/configurations.nix inputs;
|
|
|
|
nixosModules = import ./nixos/modules;
|
|
|
|
overlays = import ./overlays.nix;
|
|
|
|
hydraJobs = import ./hydra-jobs.nix inputs;
|
|
|
|
checks = import ./checks.nix inputs;
|
|
}
|