{ description = "A very basic flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; # `follows` ensure it follows nixpkgs version ags.url = "github:aylur/ags"; ags.inputs.nixpkgs.follows = "nixpkgs"; unlisted-fonts.url = "path:./custom/unlisted-fonts/"; nixvim.url = "github:nix-community/nixvim"; nixvim.inputs.nixpkgs.follows = "nixpkgs"; # monolisa.inputs.nixpkgs.follows = "nixpkgs"; # fred-drake.url = "github:fred-drake/neovim"; # fred-drake.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, home-manager, unlisted-fonts, ... } @ inputs: let info = import ./info.nix; lib = nixpkgs.lib; system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; args = { inherit inputs system; } // info; in { nixosConfigurations = { desktop = lib.nixosSystem { specialArgs = args; inherit system; modules = [ ./nixos/desktop/configuration.nix ]; }; }; homeConfigurations = { desktop = home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { inherit system; overlays = []; }; extraSpecialArgs = args; modules = [./dotfiles/desktop/home.nix]; }; }; }; }