nixos-config/flake.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2021-03-31 22:15:08 +00:00
{
2021-06-02 20:46:32 +00:00
inputs.nixpkgs.url = "nixpkgs/nixos-21.05";
inputs.unstable.url = "nixpkgs/nixos-unstable";
2021-04-06 03:11:17 +00:00
2021-06-10 19:51:04 +00:00
outputs = { self, nixpkgs, ... }@inputs:
2021-06-05 06:22:38 +00:00
{
2021-06-12 01:32:23 +00:00
nixosModules = {
alacritty = ./modules/alacritty.nix;
baseline = ./modules/baseline.nix;
cli = ./modules/cli.nix;
gnome = ./modules/gnome.nix;
phpipam = ./modules/phpipam.nix;
pipewire = ./modules/pipewire.nix;
profiles = ./modules/profiles.nix;
scansnap_s1300 = ./modules/scansnap_s1300.nix;
scroll-boost = ./modules/scroll-boost;
security-tools = ./modules/security-tools.nix;
status-on-console = ./modules/status-on-console.nix;
sway = ./modules/sway.nix;
};
nixosModule = { ... }: { imports = builtins.attrValues self.nixosModules; };
2021-06-05 06:22:38 +00:00
nixosConfigurations = self.lib.getHosts inputs ./hosts;
lib.getHosts = import lib/hosts.nix;
2021-06-10 19:51:04 +00:00
packages."x86_64-linux" =
with (import nixpkgs { system = "x86_64-linux"; });
{
binaryninja = callPackage ./pkgs/binary-ninja-personal { };
};
};
2021-03-31 22:15:08 +00:00
}