{ description = "My systems installation"; inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, home-manager, nur, ... }@inputs: let stateVersion = "23.11"; in { # TODO: make a multiach flake devShells.x86_64-linux.default = let pkgs = nixpkgs.legacyPackages."x86_64-linux"; in pkgs.mkShell { buildInputs = [ pkgs.shellcheck pkgs.lefthook pkgs.go-task pkgs.convco pkgs.typos ]; }; nixosConfigurations = { morty = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit stateVersion inputs; hostname = "morty"; username = "ephase"; hostConfig = { desktop = true; }; }; modules = [ ./nixos/default.nix home-manager.nixosModule ]; }; mrmeeseeks = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit stateVersion inputs; hostname = "mrmeeseeks"; username = "ephase"; hostConfig = { desktop = true; }; }; modules = [ ./nixos/default.nix home-manager.nixosModule ]; }; luci = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit stateVersion inputs; hostname = "luci"; username = "ephase"; hostConfig = { desktop = true; }; }; modules = [ ./nixos/default.nix home-manager.nixosModule ]; }; }; }; }