{ description = "icy's nixos config"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixos-hardware.url = "github:nixos/nixos-hardware"; home-manager = { url = "github:nix-community/home-manager/release-22.11"; inputs.nixpkgs.follows = "nixpkgs"; }; neovim.url = "github:nix-community/neovim-nightly-overlay"; darwin = { url = "github:lnl7/nix-darwin/master"; inputs.nixpkgs.follows = "nixpkgs"; }; prompt = { url = "git+https://git.peppe.rs/cli/prompt"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self , nixpkgs , nixos-hardware , home-manager , neovim , prompt , darwin , ... } @ inputs: { overlays = { nvim-nightly = neovim.overlay; prompt = prompt.overlay; }; darwinConfigurations = { syl = darwin.lib.darwinSystem { system = "x86_64-darwin"; modules = [ { imports = [ ./hosts/syl/configuration.nix ]; _module.args.self = self; } home-manager.darwinModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.icy = { imports = [ ./darwin/home.nix ]; _module.args.self = self; _module.args.host = "syl"; _module.args.inputs = inputs; }; } ]; }; }; nixosConfigurations = { wyndle = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ { imports = [ ./hosts/wyndle/configuration.nix ]; _module.args.self = self; } home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.icy = { imports = [ ./home.nix ]; _module.args.self = self; _module.args.host = "wyndle"; _module.args.inputs = inputs; }; } ]; }; }; }; }