{ description = "No, I don't understand how this works, so please don't ask"; inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager/master"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nix-doom-emacs.url = "github:nix-community/nix-doom-emacs"; stylix.url = "github:danth/stylix"; }; outputs = { self, nixpkgs, home-manager, nix-doom-emacs, stylix, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; config = { allowUnfree = true; }; }; lib = nixpkgs.lib; in { homeConfigurations = { emmet = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ ./user/home.nix nix-doom-emacs.hmModule stylix.homeManagerModules.stylix ]; }; }; nixosConfigurations = { snowfire = lib.nixosSystem { inherit system; modules = [ ./system/configuration.nix ]; }; }; }; }