{ description = "zachel's nix flake dotfiles"; inputs = { # Flake inputs unstable.url = "github:nixos/nixpkgs/nixos-unstable"; unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixpkgs-2111.url = "github:nixos/nixpkgs/nixos-21.11"; master.url = "github:nixos/nixpkgs/master"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "unstable"; neovim.url = "github:neovim/neovim?dir=contrib"; neovim.inputs.nixpkgs.follows = "unstable"; # https://github.com/NixOS/nix/pull/5342 chaotic-nixpkgs.url = "git+https://git.sr.ht/~boppy/chaotic-nixpkgs?ref=main"; chaotic-nixpkgs.inputs.nixpkgs.follows = "unstable"; }; outputs = { self, ... } @ inputs: { nixosConfigurations = import ./nixos inputs; homeConfigurations = import ./home inputs; packages.x86_64-linux = (import ./packages inputs) // self.lib.nixosConfigurationsAsPackages.x86_64-linux // self.lib.homeConfigurationsAsPackages.x86_64-linux; checks = self.packages; lib = import ./lib inputs; }; }