| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- {
- inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05?shallow=true";
- nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin?shallow=true";
- nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable?shallow=true";
- darwin.url = "github:lnl7/nix-darwin/nix-darwin-25.05?shallow=true";
- darwin.inputs.nixpkgs.follows = "nixpkgs-darwin";
- devenv.url = "github:cachix/devenv?shallow=true";
- devenv.inputs.nixpkgs.follows = "nixpkgs-unstable";
- home-manager.url = "github:nix-community/home-manager/master?shallow=true";
- home-manager.inputs.nixpkgs.follows = "nixpkgs";
- nixvim.url = "github:nix-community/nixvim/nixos-25.05?shallow=true";
- nixvim.inputs.nixpkgs.follows = "nixpkgs";
- zen-browser.url = "github:0xc000022070/zen-browser-flake/main?shallow=true";
- zen-browser.inputs.nixpkgs.follows = "nixpkgs-unstable";
- sessionx.url = "github:tstachl/tmux-sessionx/feature-speed-up-find";
- # sessionx.url = "path:/Users/thomas/workspace/tstachl/tmux-sessionx";
- sessionx.inputs.nixpkgs.follows = "nixpkgs-unstable";
- };
- outputs = { self, ... } @ inputs: rec {
- lib = import ./lib {
- inherit inputs;
- inherit (self) outputs;
- };
- homeConfigurations = {
- "thomas@meili" = lib.mkHome {
- system = "aarch64-darwin";
- modules = [ ./home/meili.nix ];
- };
- "thomas@modgud" = lib.mkHome {
- system = "x86_64-linux";
- modules = [ ./home/modgud.nix ];
- };
- "thomas@fedora" = lib.mkHome {
- system = "aarch64-linux";
- modules = [ ./home/fedora.nix ];
- };
- };
- nixosConfigurations = {
- # modgud = lib.mkSystem {
- # system = "x86_64-linux";
- # modules = [ ./hosts/modgud ];
- # };
- # odin = lib.mkSystem {
- # system = "x86_64-linux";
- # modules = [ ./hosts/odin ];
- # };
- };
- darwinConfigurations = {
- meili = lib.mkDarwin {
- system = "aarch64-darwin";
- modules = [ ./hosts/meili ];
- };
- };
- devShells = lib.mkDevenvShell {
- default = import ./devenv.nix;
- };
- modules = import ./modules;
- overlays = import ./overlays { inherit inputs; };
- packages = lib.eachSystem (system: {
- devenv-up = self.devShells.${system}.default.config.procfileScript;
- devenv-test = self.devShells.${system}.default.config.test;
- } // import ./packages { });
- templates = {
- devenv = {
- path = ./templates/devenv;
- description = "A template for a devenv environment";
- };
- };
- };
- }
|